vendor:
nginx
by:
Neal Poole
7,5
CVSS
HIGH
Arbitrary Code Execution
94
CWE
Product Name: nginx
Affected Version From: 0.5.*, 0.6.*, 0.7 <= 0.7.65, 0.8 <= 0.8.37
Affected Version To: N/A
Patch Exists: YES
Related CWE: N/A
CPE: nginx
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: Ubuntu Server 10.04.1
2011
nginx Arbitrary Code Execution NullByte Injection
In vulnerable versions of nginx, null bytes are allowed in URIs by default (their presence is indicated via a variable named zero_in_uri defined in ngx_http_request.h). Individual modules have the ability to opt-out of handling URIs with null bytes. However, not all of them do; in particular, the FastCGI module does not.
Mitigation:
Disable the handling of null bytes in URIs.