Invicti identified a source code disclosure (Tomcat), which discloses server-side source code.
An attacker might obtain server-side source code of the web application which can contain sensitive data, such as database connection strings, usernames and passwords, along with the technical and business logic of the application.
- Access the database or other data resources. Depending on the privileges of the account obtained from the source code, it may be possible to read, update or delete arbitrary data from the database.
- Gain access to password protected administrative mechanisms such as dashboards, management consoles and admin panels, hence gaining full control of the application.
- Develop further attacks by investigating the source code for input validation errors and logic vulnerabilities.
- Ensure that the server has all the current security patches applied.
- Set the allowLinking attribute to false on the Tomcat configuration for Windows systems.