Skip to content
Info disclosure Disclosed report Beginner

Full Path Disclosure / Info Disclosure in Creating New Group

Sending an array instead of a string in the group name parameter caused a PHP warning that revealed the full server file path. An attacker could use this path information to learn about the server's internal 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 another information disclosure vulnerability/Full Path Disclosure on your application. this time its on Creating New Group Section.

Proof of Concept

GET : http://www.localize.io/pages/create_project/ [project ID] POST CONTENT: CSRFToken=TOKEN VALUE&addGroup[name][]=new+group

I just Added "[]" after addGroup[name] and Replied.

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/Phrase.php on line 213

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

Attachments

localize3.png
localize3.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

Root cause

Likely the application did not validate that the group name parameter was a string before passing it to a string function, so PHP emitted a warning containing the file path.

Impact

The attacker could learn the server's internal file path, which may help in planning further attacks, but no direct compromise is shown.

What the attacker needed

Access to the create project page; a valid CSRF token

The fix

The report implies the application should handle array input and avoid showing detailed errors.

How it was found

  1. Open the create project page for a project.
  2. Submit the form with the group name parameter changed to an array.
  3. Observe the PHP warning containing the full 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 name, it expects a single piece of text. Here the attacker sent a list of values instead, which confused the 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 keep private.

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.