Skip to content
Misconfiguration Disclosed report Beginner

Misconfiguration: Missing Custom Error Page (CWE-12 & CWE-756)

The application does not have custom error pages configured, so default error pages are shown. An attacker could use the detailed error information to target the framework, database, or other resources.

siyadlbug Follow

Originally disclosed on HackerOne

  • Disclosed after 2 hours

Hi I found that custom errors for http://portswigger.net application framework `are not configured., so application vulnerable to CWE-756 & CWE-12 https://cwe.mitre.org/data/definitions/12.html https://cwe.mitre.org/data/definitions/756.html

  • Impact:

Default error pages gives detailed information about the error that occurred, and should not be used in production environments.

Attackers can leverage the additional information provided by a default error page to mount attacks targeted on the framework, database, or other resources used by the application.

  • POC:

http://portswigger.net/%5c.../file

portswigger-misconfig-page.png
portswigger-misconfig-page.png From the original on HackerOne

thanks

The original report as published on HackerOne, by siyadlbug. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the application framework is not configured to use custom error pages, so default error pages are displayed.

Impact

Default error pages could reveal detailed information about the error, which an attacker could use to mount attacks targeted on the framework, database, or other resources.

What the attacker needed

None

How it was found

  1. Request the provided URL to trigger an error.
  2. Observe that a default error page is returned instead of a custom one.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

When a website hits an error, it can show a generic page or a detailed technical page. This report says the site shows the detailed default page, which can reveal clues about how the site is built. Those clues might help an attacker plan further attacks.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

More by siyadlbug

View all

1 more disclosed report, best first.

More from PortSwigger Web Security

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.