PHP info page disclosure
A phpinfo() debug page was publicly reachable, exposing the exact PHP version, operating system version, configuration details and loaded extensions. An attacker could use this information to research known vulnerabilities and support exploitation of other issues.
ba56adcb299ff13a87475bf Follow
Originally disclosed on HackerOne
- Triaged in 3 days
- Fixed in 4 days
- Disclosed after 39 days
##Summary:
phpinfo() is a debug functionality that prints out detailed information on both the system and the PHP configuration.
##Step-by-step Reproduction Instructions
1.Go to
https://███████phpinfo
Impact
An attacker can obtain information such as: •Exact PHP version. •Exact OS and its version. •Details of the PHP configuration. •Loaded PHP extensions and their configurations. This information can help an attacker gain more information on the system. After gaining detailed information, the attacker can research known vulnerabilities for that system under review. The attacker can also use this information during the exploitation of other vulnerabilities
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
Impact
An attacker could obtain the exact PHP and OS versions, configuration details and loaded extensions, which may help them research known vulnerabilities and assist in exploiting other issues.
What the attacker needed
None
How it was found
- Navigate to the publicly reachable phpinfo URL on the target host.
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 phpinfo page is a built-in PHP diagnostic screen that lists lots of technical details about the server, such as which version of PHP is running and how it is configured. It is meant for developers during setup, not for public visitors. Leaving it online gives attackers a free map of the system, which makes it easier to pick the right attack.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.