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