Skip to content
Info disclosure Disclosed report Beginner

Verbose PHP error messages exposed on a blog article

PHP warning messages were not suppressed on the blog endpoint, so visiting a blog article displayed verbose error output. An attacker could learn internal file paths and the technologies in use (Drupal, Symfony) from those messages.

corb3nik Follow

Originally disclosed on HackerOne

Informational View original
  • Triaged in 2 days
  • Fixed in 19 days
  • Disclosed after 5 months

Hey guys!

For what its worth, warning messages aren't suppressed on the /blog/ endpoint, giving verbose PHP error messages when visiting a blog article such as https://www.hackerone.com/blog/H1-702-2018-makes-history-over-500K-bounties-paid.

Impact

Not much impact, just disclosures of paths and technologies used (Drupal, Symphony)

The original report as published on HackerOne, by corb3nik. 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 PHP error and warning display was left enabled in the production configuration for the blog endpoint.

Impact

The disclosure was limited to internal paths and the technologies used, with no further impact claimed.

What the attacker needed

None

How it was found

  1. Visit a blog article on the site's blog endpoint.

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.

When a PHP site hits a small problem, it can print a detailed error message. If visitors see these, they reveal file locations and which software the site uses.

What is Info disclosure?

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

More by corb3nik

View all

6 more disclosed reports, best first.

More from HackerOne

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.