Difference between revisions of "OWASP Periodic Table of Vulnerabilities - Insufficient Authentication/Authorization"

Jump to: navigation, search
Line 36: Line 36:
=== References ===
=== References ===
[https://www.owasp.org/index.php/Guide_to_Authorization Guide to Authorization (OWASP)]
[https://www.owasp.org/index.php/Guide_to_Authorization Guide to Authorization (OWASP)]<br>
[https://www.owasp.org/index.php/Top_10_2010-A8-Failure_to_Restrict_URL_Access Failure to Restrict URL Access (OWASP)]<br>
[http://projects.webappsec.org/w/page/13246939/Insufficient%20Authentication Insufficient Authentication (WASC)]
[http://projects.webappsec.org/w/page/13246939/Insufficient%20Authentication Insufficient Authentication (WASC)]

Revision as of 04:55, 16 May 2013

Return to Periodic Table Working View


Insufficient Authentication/Authorization

Root Cause Summary

Incorrect verification of identity and permissions can results to an attacker accessing sensitive data or functionality without properly being authenticated and/or authorized to do so.

Browser / Standards Solution


Perimeter Solution

Whenever possible, apply server-side Access Control Lists for those sections of sensitive data that should't be publicly accessible.

Generic Framework Solution

Use a generic, proven authentication framework.
Deny all access by default, and explicitly grant access per item.

Custom Framework Solution

Implement authorization checks to prevent anonymous access to sensitive data and functions.
Generate easy configurable role-based authentication and authorization policies.
Apply least-privilege principle to all transactions, requiring authentication and authorization wherever applicable.
Generate sensitive content on the fly instead of saving sensitive content whenever possible.
Use random filenames whenever possible and regularly clean up temporary files.
Store sensitive data outside of webroots.

Custom Code Solution


Discussion / Controversy


Guide to Authorization (OWASP)
Failure to Restrict URL Access (OWASP)
Insufficient Authentication (WASC)