Skip to content
Info disclosure Disclosed report Beginner

Nginx server version disclosure on engineeringblog

The nginx server version was disclosed in the default 404 error page. An attacker could learn the exact version, which might help target known vulnerabilities.

japz Follow

Originally disclosed on HackerOne

Informational View original
  • Disclosed after 12 months

Hi Yelp Team,

I have found a little information disclosure on your system with regards to the version of server you are using, due to not properly handling 404 errors , whe you go to the page that i not existing, the exact nginx version was disclosed.

PoC URL: engineeringblog.yelp.com/test

PoC Screenshot:

It is important to keep secret of the exact server versions.

Mitigation:

You may want to create a customize 404 error page, or you can just simply remove the nginx server version.

Regards Japz

Attachments

Screenshot_2016-11-05-20-13-32.png
Screenshot_2016-11-05-20-13-32.png From the original on HackerOne

The original report as published on HackerOne, by japz. 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 the default nginx 404 error page was not customised, so it included the server version in the response.

Impact

An attacker could learn the exact nginx version, which may help in targeting known vulnerabilities for that version.

What the attacker needed

None

The fix

The server should be configured to hide the nginx version, for example by customising the 404 error page or removing the version from server responses.

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 web server cannot find a page, it shows an error page. This error page included the version of the nginx software. Knowing the version can help an attacker look up known weaknesses for that version.

What is Info disclosure?

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

More by japz

View all

43 more disclosed reports, best first.

More from Yelp

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.