Vulnerability · CWE-200

medium severityA01:2021 Broken Access Control

Information Disclosurealso known as Sensitive Data Exposure

Verbose errors, stack traces, exposed .git/.env files, directory listings, or debug endpoints leak information that helps an attacker map and exploit the target.

Impact

Why it matters

Reconnaissance advantage, credential/secret leakage, and easier exploitation of other flaws.

Detection

How vulnscanners finds it

vulnscanners runs Nuclei templates and OWASP ZAP active scans against authorized targets, and reports Information Disclosure findings with severity, the affected endpoint/parameter, and the evidence needed to confirm and fix them.

Remediation

How to fix it

  1. 01Return generic errors; log details server-side only.
  2. 02Block access to .git, .env, backups, and directory listings.
  3. 03Remove debug endpoints from production.

References

FAQ

What is Information Disclosure?

Verbose errors, stack traces, exposed .git/.env files, directory listings, or debug endpoints leak information that helps an attacker map and exploit the target.

How does vulnscanners detect Information Disclosure?

vulnscanners runs Nuclei templates and OWASP ZAP active scans against authorized targets, and reports Information Disclosure findings with severity, the affected endpoint/parameter, and the evidence needed to confirm and fix them.

How do I fix Information Disclosure?

Return generic errors; log details server-side only. Block access to .git, .env, backups, and directory listings. Remove debug endpoints from production.

How serious is Information Disclosure?

Reconnaissance advantage, credential/secret leakage, and easier exploitation of other flaws.

Related

Scan your target for real.

Point vulnscanners at an authorized domain or IP range and get a severity-ranked report of what's actually exploitable — including Information Disclosure. Credits never expire.