# 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: Alta Sin reglas de Shoulder - Impact: Alto OWASP Top 10 #1 - Prevention: Ver MITRE Referencia externa **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 - Leer datos de la aplicación - Modificar datos de la aplicación - Obtener privilegios ## Mitigations - Usa un mecanismo de autorización centralizado - Prueba a fondo la lógica de autorización con distintos roles de usuario - Implementa comprobaciones de autorización de forma consistente en todos los recursos