Skip to content
Info disclosure Disclosed report Beginner

Full Path Disclosure of Server through 500 Server Error

When an account verification link was opened a second time, the site returned a 500 error that displayed the full server filesystem path of a PHP template file. An attacker could learn the server's internal directory layout from this error page.

basant0x01 Follow

Originally disclosed on HackerOne

  • Triaged in 11 hours
  • Fixed in 23 days
  • Disclosed after 7 months

Hello team,

EXPLANATION

I found a interesting vulnerability into your site that it unexpected disclosing the server path where the PHP files are being hosted. When application sends account verification links in email then if anyone tries to verify his account with that link at a twice then on the title of the website the whole server path is disclosing through 500 Server Error.

Vulnerable Path :

/usr/share/ngnix/website/resources/view/auth/create_password.blade.php

I have added a POC .

Impact

  1. Server Information Disclosure

Attachments

Full_Path_Disclosure.mp4 From the original on HackerOne

The original report as published on HackerOne, by basant0x01. 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 displayed a detailed server error (including the full file path) instead of a generic error page when a verification link was reused.

Impact

The server's internal filesystem path could be disclosed, which may help an attacker understand the server layout, but the report does not show any further exploitation.

What the attacker needed

A verification link sent by email; opening the link twice

How it was found

  1. Receive an account verification link by email.
  2. Open the verification link once.
  3. Open the same verification link a second time.
  4. Observe the 500 error page showing the full server path.

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.

A website sometimes shows an error page when something goes wrong. Here, that error page accidentally revealed the folder path on the server where the website's files live. Knowing that path can help an attacker plan further attacks, though this report only shows the path being leaked.

What is Info disclosure?

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

More by basant0x01

View all

12 more disclosed reports, best first.

More from Kartpay

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.