Skip to content
Info disclosure Disclosed report Beginner

The response shows the nginx version

The web server returned its exact nginx version in the Server response header. An attacker could use this version information to look up known vulnerabilities and plan further attacks.

Fahad Faisal Follow

Originally disclosed on HackerOne

  • Disclosed after 2 days

Summary:

On visiting the https://cache.judge.me/ .It show the nginx version

Steps To Reproduce:

==send :==

GET / HTTP/1.1
Host: cache.judge.me
Cookie: _ga=GA1.2.907415772.1636450777; _gid=GA1.2.1767694824.1636450777; _fbp=fb.1.1636450778172.127612364; _hjid=00598a42-40f4-48cb-84ec-20b9bd4273cd; _hjFirstSeen=1; _fw_crm_v=525f94b4-2c39-4a15-fdd9-de190f62db0e; _hjAbsoluteSessionInProgress=0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Upgrade-Insecure-Requests: 1
Cache-Control: max-age=0
Te: trailers
Connection: close
Content-Length: 0

==And the response shows the nginx version==

Date: Tue, 09 Nov 2021 04:22:44 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 21
Server: nginx/1.20.0
Vary: origin
Access-Control-Allow-Credentials: true
Access-Control-Expose-Headers: WWW-Authenticate,Server-Authorization
Cache-Control: no-cache
Accept-Ranges: bytes

{"message":"Welcome"}```
 
If you want more information comment below

## Impact

An attacker can use this information for further attacks

The original report as published on HackerOne, by cametome006. 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 server was configured to advertise its full product and version in the Server header rather than hiding it.

Impact

An attacker could use this information for further attacks, though the report shows no exploit beyond the disclosure itself.

What the attacker needed

None

The fix

The server could be configured to hide the version in the Server header.

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.

Every web response can carry a Server header that names the software handling the request. Here that header also included the exact version number, which tells an attacker which known bugs might apply to that server. It is a small information leak, not a break-in by itself.

What is Info disclosure?

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

More by Fahad Faisal

View all

1 more disclosed report, best first.

More from Judge.me

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.