Skip to content
Info disclosure Disclosed report Beginner

phpinfo() exposed on ██████████

A phpinfo() page was publicly accessible, exposing detailed PHP environment and server configuration information. An attacker could use this information to learn about the system and plan further attacks.

blax17 Follow

Originally disclosed on HackerOne

Medium 4.6 View original
  • Triaged in 12 hours
  • Fixed in 3 months
  • Disclosed after 4 months

Summary by the program

A phpinfo() page is exposed at the URL ███████. This configuration issue allows sensitive system information to be publicly accessed. The exposed page contains detailed information about the PHP environment, server configuration, and system settings that should not be accessible to unauthorized users

The original report as published on HackerOne, by blax17. 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 phpinfo() file was left on the web server without access restrictions.

Impact

An attacker could gather sensitive system information that may aid in further attacks, though the report does not show direct exploitation.

What the attacker needed

None

The fix

The phpinfo() page should be removed or restricted to authorised users.

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 feature that shows lots of technical details about the server, like software versions and settings. If anyone can visit it, they can learn how the system is set up, which might help them find other weaknesses. The report says this page was publicly reachable.

What is Info disclosure?

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

More by blax17

View all

1 more disclosed report, best first.

More from Mars

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.