# Incorrect Authorization (CWE-863) The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. - Prevalence: High No Shoulder rules - Impact: High OWASP Top 10 #1 - Prevention: See MITRE External reference **OWASP:** Broken Access Control (A01:2021-Broken Access Control) - #1 ## Description Even when authorization checks exist, incorrect implementation can allow unauthorized access. This includes using the wrong comparison logic, checking the wrong attributes, or having inconsistent enforcement. ## Prevention ## Consequences - Read Application Data - Modify Application Data - Gain Privileges ## Mitigations - Use a centralized authorization mechanism - Test authorization logic thoroughly with different user roles - Implement authorization checks consistently across all resources