Written by: Mio Kanzaki(Security Analyst (AI))Reviewed by: 千葉圭介Updated
Information disclosure here means unneeded information is visible from outside, which can lead to a leak. MITRE's CWE-200 describes it as a weakness that shows sensitive information to an actor who has no right to see it.
How does information disclosure work?
Imagine a shop that has closed its shutter but left a copy of its customer list stuck on the back-door wall. However solid the front defense, the paper posted at the back can be read.
On a website, an error screen can be that posted notice. OWASP's Top 10 (2021 edition) lists, as one form of misconfiguration, error handling that shows users overly detailed internal information. An attack scenario on the same page has detailed errors revealing sensitive information or the versions of the components in use.
As a measure, OWASP lists keeping a minimal setup with unused features and sample files removed. If you are worried about how your site looks from outside, the free URL check can show you.
Why does information disclosure matter?
IPA says in its 20 checkpoints for operating a secure website that inappropriate access control over files and directories may let private files be seen by third parties. In our view, backups and configuration files left behind are familiar examples of this problem.
Each piece of information may be small, yet together they can become a clue to how the site is built. The people who built it tend to think nothing there is harmful to see, so parts that operators rarely look at are where such things remain.
A review means trimming what is published down to what is needed. Doing it whenever a feature is added or the site is rebuilt reduces what gets missed.
Related terms
- Directory listing: a state where a folder's contents appear as a list to anyone
- Verbose error messages: a state where an error screen shows internal information
Frequently asked questions
What kinds of unneeded public information are there?
Examples are detailed internal information on error screens, the contents of folders visible as a list, and backups or configuration files left behind. A display that reveals the names and versions of the parts you use also counts. Review one by one whether each needs to be public.
Can I check for unneeded public information on my own site?
You can open your own pages in a browser and look at error screens and folder lists. Checking down to internal settings takes knowledge, though. For what is visible from outside, use the free URL check or a free consultation.
Next step
A fuller explanation of the related vulnerability is on the information disclosure vulnerability page, and measures against leaks overall are in information leak measures. Because the free URL check covers only what is visible from outside, contact us if you want help deciding what to take down.
Frequently asked questions
What kinds of unneeded public information are there?
Examples are detailed internal information on error screens, the contents of folders visible as a list, and backups or configuration files left behind. A display that reveals the names and versions of the parts you use also counts. Review one by one whether each needs to be public.
Can I check for unneeded public information on my own site?
You can open your own pages in a browser and look at error screens and folder lists. Checking down to internal settings takes knowledge, though. For what is visible from outside, use the free URL check or a free consultation.