Skip to content
Info disclosure Write-up Beginner

Yahoo phpinfo.php disclosure

A phpinfo.php file was publicly reachable on one of Yahoo's mail servers, exposing server configuration details. The author found it by scanning Yahoo's whole IP range for that filename, and the text does not show what an attacker actually did with the exposed information.

Patrik Fehrenbach Follow

Published on wss.sh

during my research of yahoo i found a phpinfo.php file information disclosure vulnerability, on one of their servers. The server on which i found that particular file was : http://nc10.n9323.mail.ne1.yahoo.com/phpinfo.php you might ask yourself how on earth i found this server.

Patrik Fehrenbach (@ITSecurityguard), on wss.sh

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Impact

Server configuration details were exposed to anyone who requested the page; the text does not show what an attacker could do with them.

What the attacker needed

Internet access to Yahoo's address range; no account needed

How it was found

  1. Resolve the main Yahoo domain to get an IP address.
  2. Look up the IP's netrange with whois to find the address block Yahoo owns.
  3. Run a shell loop that requests phpinfo.php from every address in that block.
  4. Find a server that returns the phpinfo.php page.

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 write-up has not been written yet. The Original tab links to the source.

A phpinfo.php page is a diagnostic file that PHP web servers can produce; it lists settings, file paths and sometimes secrets about the server. It should never be left on a public site, because anyone who finds it can read that internal detail. Here the author scanned a large block of Yahoo's addresses looking for that one filename.

What is Info disclosure?

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

More by Patrik Fehrenbach

View all

12 more disclosed reports, best first.

More from Yahoo! / Verizon Media

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.