Skip to content
Info disclosure Disclosed report Beginner

Information disclosure on error message

An error page shown when a lab was accessed during a network outage revealed internal Node.js code. An attacker could use the exposed code to look for other security bugs.

cometome780 Follow

Originally disclosed on HackerOne

  • Disclosed after 17 days

Hai team, First of all , Thank you creating a wonderful place for learning web app pentesting :) . In accessing a lab at the academy , my internet connection suddenly went down, I dont know the problem is on the lab or in academy, But the error message reveals some node codes.I attached a screenshot of the error message .

Impact

Can find other security bugs from the error message

Attachments

Screenshot_from_2021-10-29_19-19-19.png
Screenshot_from_2021-10-29_19-19-19.png From the original on HackerOne

The original report as published on HackerOne, by cometome780. 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

Impact

The exposed code could help an attacker find other security bugs, though the report does not show any specific exploitation.

What the attacker needed

Access to the lab; a network error occurs

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 breaks, it sometimes shows a technical error page. This report says that page included parts of the server's own program code, which should stay hidden. Seeing that code can help someone find other weaknesses.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

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.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.