Skip to content
Info disclosure Disclosed report Beginner

Path Disclosure (Info Disclosure) in http://www.localize.io

The login form accepted array values for the username and password fields, causing a PHP warning that revealed the server's internal file path. An attacker could use this path information to learn about the server's directory structure and potentially aid further attacks.

quistertow Follow

Originally disclosed on HackerOne

  • Fixed in 7 hours
  • Disclosed after 10 hours

Hello, I found a information disclosure vulnerability. How to reproduce: GET : http://www.localize.io/ POST : sign_in[username][]=test&sign_in[password][]=test

The info from page is Warning: trim() expects parameter 1 to be string, array given in /var/www/vhosts/lvps178-77-99-228.dedicated.hosteurope.de/httpdocs_localize/index.php on line 732 Is disclosed the path of the site. Regards, Florin

The original report as published on HackerOne, by quistertow. 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 did not validate that the username and password inputs were strings before passing them to the trim() function, and error display was enabled, exposing the file path.

Impact

The disclosed path could help an attacker understand the server's directory layout, but the report does not show any direct compromise.

What the attacker needed

None

How it was found

  1. Send a GET request to the site's homepage.
  2. Send a POST request to the sign-in endpoint with username and password fields as arrays instead of strings.
  3. Observe the PHP warning in the response that discloses the server file 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 website asks for a username and password, it normally expects simple text. Here, the tester sent those fields as lists (arrays) instead of text, which confused the PHP code and made it print an error message. That error message included the full folder path on the server, which is information the site should not reveal.

What is Info disclosure?

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

More by quistertow

View all

4 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.