JavaScript : Internal information leak
Classification
Overview
System configuration information leak is possible. This can help an attacker to plan an attack.
Debug information and error messages can be written to the log, displayed to the console, or sent to the user depending on the system settings. In some cases, an attacker can make a conclusion about the system vulnerabilities from the error message. For example, a database error can indicate insecurity against SQL injection attacks. Information about the version of the operating system, application server and system configuration can also be of value to the attacker.
In this case, we are talking about an internal leak: system information is stored in the local file or event log or is displayed on the screen.
This applies both to the classic web applications and mobile applications.
References
- OWASP Top 10 2013-A5-Security Misconfiguration
- CWE-497: Exposure of System Data to an Unauthorized Control Sphere
- OWASP Top 10 2017-A3-Sensitive Data Exposure
- OWASP Top 10 2017-A6-Security Misconfiguration
- CWE CATEGORY: OWASP Top Ten 2017 Category A5 - Broken Access Control
- CWE CATEGORY: OWASP Top Ten 2017 Category A6 - Security Misconfiguration
- CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
- CWE-209: Generation of Error Message Containing Sensitive Information
- CWE-532
