Publicly accessible phpinfo() exposes detailed server configuration
A publicly accessible phpinfo() page exposed detailed server configuration, including the exact PHP version, internal paths, internal IP address, loaded modules, an empty disable_functions directive, and SSL information listing multiple subdomains. An attacker could use this information to identify vulnerable software versions and craft targeted exploits or lateral movement.
Originally disclosed on Bugcrowd
- Accepted in 3 days
- Fixed in 50 days
- Disclosed after 2 months
Summary by MattKingst
PHPInfo exposed in a easy to guess endpoint
This exposes:
Exact PHP version Internal paths Internal IP address
Loaded modules/extensions (pdo_mysql, mongodb, etc.)
Empty disable_functions directive (potentially dangerous functions enabled)
SSL info listing multiple JPL subdomains.
Impact
An attacker can:
Gather detailed information about the environment (paths, IPs, software).
Identify vulnerable versions or extensions.
Use this data to craft targeted exploits or lateral movements.
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 gather detailed environment information, identify vulnerable versions or extensions, and use that data to craft targeted exploits or lateral movements.
What the attacker needed
None
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 diagnostic tool that shows lots of details about the web server and PHP setup. If anyone on the internet can open it, they learn things like software versions and internal addresses that help them plan attacks. This report found such a page at a predictable address.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.