Server version/OS type disclosure via HTTP Response Header
The HTTP response Server header revealed the exact Apache version, the OS family and the OpenSSL version in use.
- Disclosed after 26 hours
- Issued request below:
GET / HTTP/1.1 Host: demo.nextcloud.com User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:43.0) Gecko/20100101 Firefox/43.0 Accept: text/css,/;q=0.1 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Referer: https://demo.nextcloud.com/hohoho/ Cookie: PHPSESSID=s5qqervpnmuc8o8mrifveikvhn Connection: close If-Modified-Since: Thu, 23 Feb 2017 14:44:27 GMT If-None-Match: "984-54933a66d83a6" Cache-Control: max-age=0
- Responded back the following headers:
HTTP/1.1 200 OK Date: Wed, 22 Mar 2017 15:07:29 GMT Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate Pragma: no-cache Strict-Transport-Security: max-age=15768000 Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: 9154
Note that Apache version, OS type and OpenSSL version were disclosed. For other pages in the same domain, it was only shown as Server: Apache, probably some mis-configuration.
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's configuration left the default verbose Server header enabled, exposing the software name, version, OS and linked OpenSSL version.
What the attacker needed
None
The fix
The server should be configured to return a minimal or generic Server header.
How it was found
- Send a request to the site's home page.
- Inspect the response headers.
- Note that the Server header lists the Apache version, the OS and the OpenSSL 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.
A web server sends back headers with each response. Here the Server header gave away the exact Apache version, the operating system and the OpenSSL version.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.