Test IDOR in user info endpoints

Insecure direct object reference (IDOR)Discovery

Written with a model's help from “CVE-2026-79957 Insecure Direct Object Reference in ServiceNext” by Mark Gaddy on Black Lantern Security. Read the writeup before relying on it.

When testing an endpoint that retrieves user information, try changing the ID parameter in the request body to a different user's ID. If the endpoint returns the other user's record without error, it may indicate an insecure direct object reference (IDOR) vulnerability. To confirm, send a POST request with a modified ID value and verify that the response contains the target user's sensitive information, such as their username, password, or email. You can use a tool like curl to send the request:

bash
curl -sk -X POST "https://target.com/api/Usuario/GetUsuarios" \
  -H "Content-Type: application/json" \
  -d '{"ID":<target_id>, "Token":<auth_token>}'

If the response contains the target user's sensitive information, it may indicate an IDOR vulnerability.

Follow #authentication, #idor or #information-disclosure for new tips like this one, on your notifications page and, if you choose, in a daily or weekly email.

Comments

No comments yet.