Broken Access Control is a security vulnerability that allows unauthorized users to access restricted resources or perform unauthorized actions within a web application. It occurs when access controls are not properly implemented or enforced, allowing attackers to bypass authentication mechanisms and gain unauthorized access to sensitive data or functionality.
Consider a web application that manages user profiles:
This lack of proper access controls allows User B to view or modify User A's profile, leading to unauthorized access to sensitive information.
To mitigate Broken Access Control vulnerabilities, web developers should: