Properties File Exposure in /WEB-INF

Anandhu Krishnan
Published on
13 May 2024


A Java class in the /WEB-INF folder inadvertently exposes sensitive configuration information, potentially containing application credentials or cryptographic keys.


Implement robust access controls to restrict unauthorized access to the /WEB-INF folder and its contents. Consider configuring the web server to deny directory listing or remove the /WEB-INF folder altogether.

Automated human-like penetration testing for your web apps & APIs
Teams using Beagle Security are set up in minutes, embrace release-based CI/CD security testing and save up to 65% with timely remediation of vulnerabilities. Sign up for a free account to see what it can do for you.

Written by
Anandhu Krishnan
Anandhu Krishnan
Lead Engineer
Find website security issues in a flash
Improve your website's security posture with proactive vulnerability detection.
Free website security assessment