Your web application uses the Express.js server framework with case-insensitive routing enabled. This can lead to authentication bypass vulnerabilities when security controls are applied to routes based on string matching. By altering the case of the URL, an attacker can bypass authentication middleware applied to specific routes, gaining unauthorized access to protected resources.


Enforce case-sensitive routing: Modify your Express.js application configuration to enforce case-sensitive routing. Additionally, ensure that your middleware functions are case-sensitive and can handle varying case scenarios. Regularly test and review your application's security controls to ensure they work as expected and do not contain bypass vulnerabilities.


Related Vulnerabilities