Full Path Disclosure (FPD) in www.localize.im
The application accepted an array where a string was expected in a form parameter, 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, which may aid further attacks.
Originally disclosed on HackerOne
- Fixed in 2 hours
- Disclosed after 3 hours
Hi, I found an information disclosure vulnerability/Full Path Disclosure on your application.
Proof of Concept
GET : https://www.localize.im/projects/[projiect ID/languages/[Language ID]
POST CONTENT:
CSRFToken=TOKEN&updatePhrases[previous][yxr][0]=&updatePhrases[edits][yxr][0]=&updatePhrases[previous][yxq][0]=&####LotsOfPhrases######&updatePhrases[secret]=[SecredCodes]&updatePhrases[translatorID]=[ID]
Just Add "[]" after any of those updatePhrases[previous][ID][0]
The information from page:
Warning: trim() expects parameter 1 to be string, array given in /srv/data/web/vhosts/www.localize.im/htdocs/index.php on line 191
I Also Added a Screenshot of that FPD as attachment.. Hope You'll fix this one.. Thanks
Attachments

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 passed user-supplied array data to a function expecting a string without validating the input type, and error display was enabled, exposing the file path.
Impact
The disclosure reveals the server's internal file path, which could help an attacker plan further attacks, but no direct compromise is shown.
What the attacker needed
Access to the project language page; ability to send a modified form request
The fix
The application should validate that form parameters are strings and avoid displaying PHP warnings.
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 full path disclosure is when a website accidentally shows the exact folder location of its files on the server. Here, sending a special form value made the site print an error message that included the server's internal file path. This does not let someone break in directly, but it gives clues about how the server is set up.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.