Skip to content
Info disclosure Disclosed report Beginner

full path disclosure from false language

A request with an invalid language ID caused an uncaught exception that displayed a full stack trace. An attacker could learn the server's file paths and internal code structure from the error message.

brook2 Follow

Originally disclosed on HackerOne

  • Triaged in 7 days
  • Fixed in 43 days
  • Disclosed after 2 months

https://www.localize.im/projects/3t/languages/4xX

Fatal error: Uncaught exception 'Exception' with message 'Unknown language ID 3083' in /srv/data/web/vhosts/www.localize.im/htdocs/classes/Language.php:423 Stack trace: #0 /srv/data/web/vhosts/www.localize.im/htdocs/classes/Language.php(221): Language::getLanguageName(3083) #1 /srv/data/web/vhosts/www.localize.im/htdocs/classes/Language.php(217): Language::getLanguageNameFull(3083) #2 /srv/data/web/vhosts/www.localize.im/htdocs/classes/UI.php(1375): Language->getNameFull() #3 /srv/data/web/vhosts/www.localize.im/htdocs/classes/UI.php(208): UI::getPage_Project(Array, Array) #4 /srv/data/web/vhosts/www.localize.im/htdocs/classes/UI.php(183): UI::findPage(6, Array, Array) #5 /srv/data/web/vhosts/www.localize.im/htdocs/index.php(226): UI::getPage(6) #6 {main} thrown in /srv/data/web/vhosts/www.localize.im/htdocs/classes/Language.php on line 423

The original report as published on HackerOne, by brook2. 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 does not handle invalid language IDs gracefully and lets the exception propagate to the user, exposing a detailed stack trace.

Impact

An attacker could learn the server's directory structure and internal file names, which may aid in further attacks.

What the attacker needed

None

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 unexpected error, it sometimes shows a detailed error message instead of a friendly one. This message can reveal where files are stored on the server and how the code is organised, which helps an attacker plan further attacks.

What is Info disclosure?

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

More from Localize

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.