Skip to content
Info disclosure Disclosed report Beginner

Path Disclosure Vulnerability

A plugin disclosed a full server path when a form field value was changed to an empty array. An attacker could learn the webroot path, which may help with other attacks such as SQL injection file reads.

jamalcom Follow

Originally disclosed on HackerOne

  • Disclosed after 2.3 years

Hey , I'm Jamal in this report i want to show you a Vulnerability Found It In basic-google-maps-placemarks Pugin

Description: [#] Title : Path Disclosure Vulnerability

[#] Status : Unfixed [#] Tested on : Firefox [#] Author : Jamal Eddine [#] Email : [email protected] [#] Discovered : 2014/05/04 [#] Report it : 2014/05/04

Target : http://www.foxyform.com/index.php?step[]=4%27

Description:

Full Path Disclosure (FPD) vulnerability enable the attacker to see the path to the webroot/file. Certain vulnerabilities, such as using the load_file() (within a SQL Injection) query to view the page source, require the attacker to have the full path to the file they wish to view.

Attack details:

With the Inspect Elemenr of browser , we change the value in the form of any field of the plugin by addin the Empty array []

that's all and thank you so much

Attachments

Capture.PNG
Capture.PNG From the original on HackerOne
Capture2.PNG
Capture2.PNG

The original report as published on HackerOne, by jamalcom. 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 plugin did not check that a form field was a string before using it, so submitting an array caused a PHP warning that revealed the file path.

Impact

An attacker could learn the full server path to the webroot, which may assist other attacks that need that path, but no direct compromise is shown.

What the attacker needed

Target runs the vulnerable plugin; attacker can submit a form field as an array

How it was found

  1. Open the target page in Firefox.
  2. Use the browser's Inspect Element tool to change a form field value to an empty array.
  3. The changed form field leads to the full path being disclosed.

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 means an error message shows the server's folder location, like /var/www/html. This report says that by changing a form field to an array using the browser's developer tools, the plugin shows that path. Knowing the path can help an attacker in later attacks, but on its own it is a low-severity information leak.

What is Info disclosure?

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

More from Ian Dunn

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.