Skip to content
Info disclosure Disclosed report Beginner CVE-2019-9511CVE-2019-9513CVE-2019-9516

Nginx version is disclosed in HTTP response

The web server's HTTP response reveals the exact Nginx version (1.16.1) in the Server header. An attacker could use this information to look up known vulnerabilities for that version and potentially launch targeted attacks.

hckit_02 Follow

Originally disclosed on HackerOne

Informational View original
  • Disclosed after 11 days

Summary:

I found a version disclosure (Nginx) in your web server's HTTP response.

Extracted Version: 1.16.1

This information might help an attacker gain a greater understanding of the systems in use and potentially develop further attacks targeted at the specific version of Nginx.

Steps To Reproduce:

*Checkout the URL: https://localizestaging.com/

Checkout the header response:

HTTP/1.1 200 OK Content-Type: text/html; charset=utf-8 Connection: close Date: Sun, 26 Jan 2020 21:37:55 GMT Server: nginx/1.16.1 Vary: Accept-Encoding X-DNS-Prefetch-Control: off X-Content-Type-Options: nosniff X-XSS-Protection: 1; mode=block Content-Security-Policy: object-src 'none'; base-uri https://localizestaging.com; frame-ancestors https://localize.live ETag: W/"883d-dUYoyQDdg3V8h1QICXD3rs4" X-Cache: Miss from cloudfront Via: 1.1 5157dedfe33ef5a309f236599901abe3.cloudfront.net (CloudFront) X-Amz-Cf-Pop: SIN52-C3 X-Amz-Cf-Id: Content-Length: 34877

PoC : F696981: Server Disclosure .jpg

Supporting Material/References:

Number of vulnerabilities: 3 CVE IDs:

  1. CVE-2019-9511
  2. CVE-2019-9513
  3. CVE-2019-9516

##1) Resource exhaustion Severity: Medium CVE-ID: CVE-2019-9511 CWE-ID: CWE-400 - Uncontrolled Resource Consumption ('Resource Exhaustion') Description The vulnerability allows a remote attacker to perform a denial of service (DoS) attack. The vulnerability exists due to improper input validation when processing HTTP/2 requests. A remote attacker can send a specially crafted HTTP/2 request the affected server, consume all available CPU resources and perform a denial of service (DoS) attack. Successful exploitation of the vulnerability requires that support for HTTP/2 is enabled. Mitigation Install updates from vendor's website.

##2) Resource exhaustion Severity: Medium CVE-ID: CVE-2019-9513 CWE-ID: CWE-400 - Uncontrolled Resource Consumption ('Resource Exhaustion') Description The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to improper input validation when processing HTTP/2 requests. A remote attacker can send a specially crafted HTTP/2 request the affected server, consume all available CPU resources and perform a denial of service (DoS) attack. Successful exploitation of the vulnerability requires that support for HTTP/2 is enabled. Mitigation Install updates from vendor's website.

##3) Resource exhaustion Severity: Medium CVE-ID: CVE-2019-9516

CWE-ID: CWE-400 - Uncontrolled Resource Consumption ('Resource Exhaustion') Description The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to improper input validation when processing HTTP/2 requests within the ngx_http_v2_module module. A remote attacker can send a specially crafted HTTP/2 request the affected server, consume all available CPU resources and perform a denial of service (DoS) attack. Successful exploitation of the vulnerability requires that support for HTTP/2 is enabled. Mitigation Install updates from vendor's website.

More details: https://www.cybersecurity-help.cz/vdb/SB2019081323

Impact

An attacker might use the disclosed information to harvest specific security vulnerabilities for the version identified.

Add the following line to your nginx.conf file to prevent information leakage from the SERVER header of its HTTP response:

server_tokens off

Attachments

Server_Disclosure_.jpg
Server_Disclosure_.jpg From the original on HackerOne

The original report as published on HackerOne, by hckit_02. 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

The server is configured to include the software name and version in the Server HTTP response header.

Impact

An attacker could use the disclosed version to find and exploit known vulnerabilities specific to that version, though the report only lists potential DoS issues that require HTTP/2 to be enabled.

What the attacker needed

None

The fix

The server should be configured to hide the Nginx version by setting server_tokens to off.

How it was found

  1. Visit the target URL.
  2. Inspect the HTTP response headers.
  3. Observe the Server header revealing the Nginx version.

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 website responds to a request, it often includes a header called 'Server' that says what software and version it is running. Here, it said 'nginx/1.16.1', which tells anyone that the site uses Nginx version 1.16.1. That is like leaving a note on your door saying exactly which lock model you have; a burglar could then look up known weaknesses for that lock.

What is Info disclosure?

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

More from Localize

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.