What is Information Disclosure

·

1 min read

Definition

Unnecessary information exposure, also known as Information Disclosure, refers to security vulnerabilities where information that should not be exposed to users or systems in web services is disclosed to external parties.

Vulnerability Points

  • Error pages, HTTP request and response pages

Vulnerability Validation Methods

  • For error pages, HTTP request, and response headers, check if version information is visible using Burp Suite.

  • Verify if important information commented in web pages is exposed in the web page source.

  • Check if excessive information is exposed in error messages or error pages.

  • Confirm if encoded important information can be decoded.

Attack Methods

Attack Scenarios

  1. Information exposure using error messages: Attackers extract sensitive information such as debug information or paths from error messages.

  2. Information exposure using XSS (Cross-Site Scripting): Attackers trick users into accessing the password change page, inadvertently revealing their previous password, which the attacker then captures.

Occurrence Process

Countermeasures

  1. Configure not to return detailed error messages with debug and exception information.

  2. Implement error handling mechanisms to prevent exposing exception information to users.

  3. Take measures not to store sensitive information in log files.

  4. Restrict access to the web service's directory structure and file lists.

  5. Apply security measures to web application configuration files and database connection information.