Skip to content
Info disclosure Disclosed report Beginner

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.

linkks Follow

Originally disclosed on HackerOne

  • 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.

The original report as published on HackerOne, by linkks. 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 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.

More by linkks

View all

20 more disclosed reports, best first.

More from Starbucks

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.