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.
-
Confirm the draft belongs to the logged-in user before deleting it.
-
Verify that the comment belongs to the authenticated user before editing or deleting it.
Seen in 1 report
-
Check that the authenticated user has permission to modify the target user's preferences.
Seen in 1 report
-
Critical
-
-
Check that the person identifier matches the authenticated user before accepting an upload.
Seen in 1 report
-
Bind profile update fields to the authenticated session and require verification before changing recovery email.
Seen in 1 report
-
Verify that the requester is authorised to access the profile identified by the parameter.
-
Verify that the card belongs to the authenticated user before returning its balance.
-
Check that the requester is an administrator of the organisation in the request body.
Seen in 1 report
-
$100 Medium
-
-
Verify that the address belongs to the authenticated user and avoid sequential identifiers.
Seen in 1 report
-
Check that the caller is an admin or member of the business before deleting its saved cards.
Seen in 1 report
-
Verify that the invitation belongs to the caller's organisation and that the caller has permission to delete it.
Seen in 1 report
-
Verify that the settings record belongs to the caller's store before updating it.
Seen in 1 report
-
Verify that the address belongs to the authenticated user rather than trusting the cookie and subzone match.
Seen in 1 report
-
Verify that the requesting user owns the file before deleting it.
Seen in 1 report
-
$5,000
-
-
Strip EXIF metadata from uploaded images and check ownership on image URLs.
Seen in 1 report
-
Do not share session cookie namespaces or user databases between sibling sites.
Seen in 1 report
-
Check that the saved card belongs to the requesting user before charging it.
Seen in 1 report
-
Verify that the card belongs to the requester before linking it to a rewards account.
Seen in 1 report
-
Verify that the session and label identifiers belong to the same store.
Seen in 1 report
-
Verify that the user actually owns the external account identifier before linking it.
Seen in 1 report
-
Do not use a fixed OTP and verify ownership of the reservation history.
-
Verify the session against the authenticated account instead of trusting a steamid cookie.
Seen in 1 report
-
Medium
-
-
Check that the requesting user has access to the parent card before serving an attachment.
Seen in 1 report
-
Verify ownership of the account ID and require the old password for email changes.
Seen in 1 report
-
Check that the requesting user is allowed to view the board before returning its details.
Seen in 1 report
-
$5,000 Critical
-
-
Use non-predictable identifiers and check that the requester owns the payment record.
-
Check that the requested media belongs to the caller's own conversation.
Seen in 1 report
-
Verify that the requesting user has a role on the page whose profile_id is supplied.
Seen in 1 report
-
Check ownership of the hidden blog identifier before saving settings.
Seen in 1 report
-
Use the authenticated session's own user identifier to decide which account to update.
Seen in 1 report
-
Verify that the media_code belongs to the authenticated user before attaching it.
Seen in 1 report
-
Verify that the content identifier belongs to the requesting user before moving it.
Seen in 1 report
-
Check that the requester belongs to the same team and has permission to edit the target user.
Seen in 1 report
-
Validate and parameterise the order number input before using it in a backend query.
-
Do not trust a numeric identifier stored in a cookie for profile lookups.
Seen in 1 report
-
Check that the note belongs to the requesting user and render the note body safely.
Seen in 1 report
-
Use the authenticated session's user identifier instead of a user_id from the request body.
-
Verify that the authenticated user owns the ticket identified in the URL.
-
Verify that the user_list_id belongs to the project being edited.
Seen in 1 report
-
Check which folder IDs a user may request and filter sensitive fields from responses.
Seen in 1 report
-
Verify that the requesting user has permission to access the specified video.
Seen in 1 report
-
Verify that the requesting user is authorised to view the advertiser account.
Seen in 1 report
-
Check the caller's access to the application before returning its developer tasks.
Seen in 1 report
-
Verify that the requesting user is authorised to access the profile identified by the uid parameter.
-
Require a valid session token on the retrieve endpoint and check ownership of the hash identifier.
Seen in 1 report
-
Normalise the path before authorisation so injected characters cannot change which route is checked.
Seen in 1 report
-
Verify that the user identifier belongs to the organisation identifier supplied in the request.
Seen in 1 report
-
Verify that the authenticated user owns the memory before updating it.
Seen in 1 report
-
Cap the client-supplied limit and authorise the email field per requester.
-
Use a strong, high-entropy token signing secret.