Vulnerabilities/

Nginx Version Disclosure

Severity:
Informational

Description

The Server header reveals detailed information about the server application handling the request, including the Nginx version. Exposing this information can aid attackers in identifying vulnerabilities and launching targeted attacks.

Recommendation

To mitigate this issue, open the Nginx configuration file (nginx.conf) and add the following line to either http, server, or location sections:

server_tokens off;

Then, restart the web server to apply the changes.

References

Related Issues

Tags:
HTTP Headers
Information Disclosure
Server Misconfiguration
Nginx
Web Server
Anything's wrong? Let us know Last updated on May 13, 2024

Use SmartScanner Free version to test for this issue

Download