Skip to content
Info disclosure Disclosed report Beginner

Full Path Disclosure (FPD) in www.localize.io

The application accepted array parameters where strings were expected, causing a PHP warning that revealed the full server file path. An attacker could use this path information to learn about the server's directory structure.

faisalahmed Follow

Originally disclosed on HackerOne

  • Triaged in under an hour
  • Fixed in under an hour
  • Disclosed after under an hour

Hi, I found an information disclosure vulnerability/Full Path Disclosure on your application.

Proof of Concept

GET : http://www.localize.io/pages/create_project/ [project ID] POST CONTENT: CSRFToken=TOKEN VALUE&create_project[visibility]=1&create_project[name][]=My+Android&create_project[defaultLanguage]=1&create_project[editRepositoryID][]=72

Just Add "[]" after create_project[name] and create_project[editRepositoryID]

The information from page:

Warning: trim() expects parameter 1 to be string, array given in /var/www/vhosts/lvps178-77-99-228.dedicated.hosteurope.de/httpdocs_localize/classes/UI.php on line 1495

I Also Added a Screenshot of that FPD as attachment.. Hope You'll fix this one.. Thanks

Attachments

localize2.png
localize2.png From the original on HackerOne

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

An attacker could learn the full server file path, which may help in planning further attacks, but the report does not show any direct compromise.

What the attacker needed

Access to the create project page; a valid CSRF token

The fix

The application should validate that parameters are strings and disable detailed error messages in production.

How it was found

  1. Send a POST request to the create project page with the CSRF token and project details.
  2. Add square brackets after the create_project[name] and create_project[editRepositoryID] parameters to make them arrays.
  3. Observe the PHP warning in the response that reveals 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.

When a web form sends data, the server expects certain fields to be simple text. Here, the attacker added square brackets to the field names, which makes the server treat them as lists instead of text. The server's code then produced an error message that included the full file path on the server, which is normally hidden.

What is Info disclosure?

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

More by faisalahmed

View all

16 more disclosed reports, best first.

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.