Vulnerability library
Security checkFebruary 15, 2025

Insecure Direct Object Reference (IDOR)

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

IDOR occurs when an application provides direct access to objects based on user input without proper authorization checks. This vulnerability allows attackers to manipulate object identifiers to access sensitive information or perform unauthorized operations. For example, changing a user ID in a URL parameter might grant access to another user’s account details.

Recommendation

To mitigate IDOR vulnerabilities, implement access control mechanisms that validate user permissions before granting access to resources. Use indirect references (e.g., tokens) instead of exposing direct object references in URLs or other inputs. Ensure that sensitive endpoints enforce proper authorization policies.

References

Could your website be exposed too?

SmartScanner can check your website for Insecure Direct Object Reference (IDOR) and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated February 15, 2025