Skip to content

In-depth lesson · IDOR

Typical fixes

Every point the IDOR reports back under this heading, best-backed first, each with the reports it is seen in.

Back to the lesson 51 to 100 of 185
  1. Confirm the draft belongs to the logged-in user before deleting it.

    Seen in 1 report
  2. Verify that the comment belongs to the authenticated user before editing or deleting it.

    Seen in 1 report
  3. Check that the authenticated user has permission to modify the target user's preferences.

    Seen in 1 report
  4. Check that the person identifier matches the authenticated user before accepting an upload.

    Seen in 1 report
  5. Bind profile update fields to the authenticated session and require verification before changing recovery email.

    Seen in 1 report
  6. Verify that the requester is authorised to access the profile identified by the parameter.

    Seen in 1 report
  7. Verify that the card belongs to the authenticated user before returning its balance.

    Seen in 1 report
  8. Check that the requester is an administrator of the organisation in the request body.

    Seen in 1 report
  9. Verify that the address belongs to the authenticated user and avoid sequential identifiers.

    Seen in 1 report
  10. Check that the caller is an admin or member of the business before deleting its saved cards.

    Seen in 1 report
  11. Verify that the invitation belongs to the caller's organisation and that the caller has permission to delete it.

    Seen in 1 report
  12. Verify that the settings record belongs to the caller's store before updating it.

    Seen in 1 report
  13. Verify that the address belongs to the authenticated user rather than trusting the cookie and subzone match.

    Seen in 1 report
  14. Verify that the requesting user owns the file before deleting it.

    Seen in 1 report
  15. Strip EXIF metadata from uploaded images and check ownership on image URLs.

    Seen in 1 report
  16. Do not share session cookie namespaces or user databases between sibling sites.

    Seen in 1 report
  17. Check that the saved card belongs to the requesting user before charging it.

    Seen in 1 report
  18. Verify that the card belongs to the requester before linking it to a rewards account.

    Seen in 1 report
  19. Verify that the session and label identifiers belong to the same store.

    Seen in 1 report
  20. Verify that the user actually owns the external account identifier before linking it.

    Seen in 1 report
  21. Do not use a fixed OTP and verify ownership of the reservation history.

    Seen in 1 report
  22. Verify the session against the authenticated account instead of trusting a steamid cookie.

    Seen in 1 report
  23. Check that the requesting user has access to the parent card before serving an attachment.

    Seen in 1 report
  24. Verify ownership of the account ID and require the old password for email changes.

    Seen in 1 report
  25. Check that the requesting user is allowed to view the board before returning its details.

    Seen in 1 report
  26. Use non-predictable identifiers and check that the requester owns the payment record.

    Seen in 1 report
  27. Check that the requested media belongs to the caller's own conversation.

    Seen in 1 report
  28. Verify that the requesting user has a role on the page whose profile_id is supplied.

    Seen in 1 report
  29. Check ownership of the hidden blog identifier before saving settings.

    Seen in 1 report
  30. Use the authenticated session's own user identifier to decide which account to update.

    Seen in 1 report
  31. Verify that the media_code belongs to the authenticated user before attaching it.

    Seen in 1 report
  32. Verify that the content identifier belongs to the requesting user before moving it.

    Seen in 1 report
  33. Check that the requester belongs to the same team and has permission to edit the target user.

    Seen in 1 report
  34. Validate and parameterise the order number input before using it in a backend query.

    Seen in 1 report
  35. Do not trust a numeric identifier stored in a cookie for profile lookups.

    Seen in 1 report
  36. Check that the note belongs to the requesting user and render the note body safely.

    Seen in 1 report
  37. Use the authenticated session's user identifier instead of a user_id from the request body.

    Seen in 1 report
  38. Verify that the authenticated user owns the ticket identified in the URL.

    Seen in 1 report
  39. Verify that the user_list_id belongs to the project being edited.

    Seen in 1 report
  40. Check which folder IDs a user may request and filter sensitive fields from responses.

    Seen in 1 report
  41. Verify that the requesting user has permission to access the specified video.

    Seen in 1 report
  42. Verify that the requesting user is authorised to view the advertiser account.

    Seen in 1 report
  43. Check the caller's access to the application before returning its developer tasks.

    Seen in 1 report
  44. Verify that the requesting user is authorised to access the profile identified by the uid parameter.

    Seen in 1 report
  45. Require a valid session token on the retrieve endpoint and check ownership of the hash identifier.

    Seen in 1 report
  46. Normalise the path before authorisation so injected characters cannot change which route is checked.

    Seen in 1 report
  47. Verify that the user identifier belongs to the organisation identifier supplied in the request.

    Seen in 1 report
  48. Verify that the authenticated user owns the memory before updating it.

    Seen in 1 report
  49. Cap the client-supplied limit and authorise the email field per requester.

    Seen in 1 report
  50. Use a strong, high-entropy token signing secret.

    Seen in 1 report