Full Path Disclosure
When a non-admin user tried to upload an HTML file as a profile picture, the application returned an error message that included the full server filesystem path. An attacker could use this path information to learn about the server's directory structure and potentially aid further attacks.
Originally disclosed on HackerOne
- Triaged in 1 hour
- Fixed in 4 months
- Paid in 4 days
- Disclosed after 4 months
When I was trying to upload a html file as profile picture as a non admin user. then it popped up with a message containing full path . Like that "Could not obtain lock type 1 on "/opt/lampp/htdocs/owncloud/data/12/files/opt/lampp/htdocs/owncloud/data/12/cache/avatar_upload"."
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 includes the full filesystem path in error messages when a file upload fails, instead of showing a generic error.
Impact
An attacker could learn the server's directory structure, which may help in planning further attacks, but the text does not show direct compromise.
What the attacker needed
A non-admin user account
How it was found
- Log in as a non-admin user.
- Attempt to upload an HTML file as a profile picture.
- Observe the error message 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.
A full path disclosure happens when a website accidentally shows the exact folder location of files on its server in an error message. This is like telling a burglar where the safe is kept, because it helps attackers plan other attacks. Here, uploading an HTML file as a profile picture caused an error that revealed the server's internal folder path.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.