PHPinfo page
A publicly reachable PHP file returned the output of the phpinfo() function, exposing server configuration and environment details. An attacker could use this information to plan further attacks against the host.
- Triaged in 3 days
- Fixed in 4 days
- Disclosed after 12 months
GET /test.php HTTP/1.1 Host: 52.90.193.152 Connection: Keep-alive Accept-Encoding: gzip,deflate User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.21 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.21 Accept: /
Impact
This file may expose sensitive information that may help an malicious user to prepare more advanced attacks.
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 a leftover diagnostic PHP script that calls phpinfo() was deployed to the production web root and left publicly accessible.
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 PHP page that calls phpinfo() prints a long list of details about the server, such as software versions, file paths and settings. Leaving such a page online gives an attacker a free map of the system, which makes later attacks easier to plan.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.