CVE-2016-4450
High · 7.5CVSS
7.5
EPSS
16.4%
Published
Jun 7, 2016
CISA due date
—
Cloudanix analysis
A flaw in the nginx web server can let remote attackers crash it with specially made requests, taking websites offline until the server is restarted or updated.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Network Service
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Crafted HTTP request triggers NULL pointer dereference in os/unix/ngx_files.c when writing client request body to a temporary file, crashing the nginx worker process.
Why it matters to the business
Denial of service against web servers and applications relying on nginx, resulting in availability loss and operational disruption; high ecosystem prevalence increases exposure for many organizations.
How an attack unfolds
Attacker sends a specially crafted request that forces nginx to handle request body writing to a temp file in a way that dereferences a null pointer, causing immediate worker crash. No known threat actors or ransomware campaigns associated with this older vulnerability.
How to fix it
Upgrade nginx to version 1.10.1 or 1.11.1 (or later) incorporating commit e32426747fa56ab92dd6b5432ee57c912413e46a; apply vendor patches immediately given the 2016 publication date.
How to confirm the fix worked
Verify running nginx version against fixed releases; monitor worker process stability under simulated request loads or review source for the patched ngx_files.c logic.
Typical attack path
- Identify publicly reachable nginx instance
- Craft and send malicious HTTP request targeting request body handling
- Trigger temporary file write path in ngx_files.c
- Induce NULL pointer dereference leading to worker process termination
How to detect it
Inspect nginx error logs for worker process crashes and stack traces referencing ngx_files.c; correlate with unusual request patterns involving large or malformed bodies; no active exploitation indicators reported.
What your security team should do
- Prioritize upgrade of all nginx instances to patched versions
- Implement web application firewall rules to block anomalous request bodies if upgrade is delayed
- Enable detailed error logging and process monitoring for crashes
- Review downstream dependents and plan staged rollouts
The record
os/unix/ngx_files.c in nginx before 1.10.1 and 1.11.x before 1.11.1 allows remote attackers to cause a denial of service (NULL pointer dereference and worker process crash) via a crafted request, involving writing a client request body to a temporary file.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | nginx | 0 | 1.10.1-1 |
| Debian:12 | nginx | 0 | 1.10.1-1 |
| Debian:13 | nginx | 0 | 1.10.1-1 |
| Debian:8 | nginx | 0 | 1.6.2-5+deb8u2 |
| Mageia:5 | nginx | 0 | 1.6.2-5.2.mga5 |
| Red Hat:rhel_software_collections:2::el6 | rh-nginx18-nginx | 0 | 1:1.8.1-1.el6 |
| Red Hat:rhel_software_collections:2::el6 | rh-nginx18-nginx-debuginfo | 0 | 1:1.8.1-1.el6 |
| Red Hat:rhel_software_collections:2::el7 | rh-nginx18-nginx | 0 | 1:1.8.1-1.el7 |
| Red Hat:rhel_software_collections:2::el7 | rh-nginx18-nginx-debuginfo | 0 | 1:1.8.1-1.el7 |
| SUSE:Lifecycle Management Server 1.3 | nginx-1.0 | 0 | 1.0.15-0.34.1 |
| SUSE:Package Hub 12 | nginx | 0 | 1.8.1-9.1 |
| SUSE:Studio Onsite 1.3 | nginx-1.0 | 0 | 1.0.15-0.34.1 |
| SUSE:WebYast 1.3 | nginx-1.0 | 0 | 1.0.15-0.34.1 |
| Ubuntu:14.04:LTS | nginx | 0 | 1.4.6-1ubuntu3.5 |
| Ubuntu:16.04:LTS | nginx | 0 | 1.10.0-0ubuntu0.16.04.2 |
| openSUSE:Tumbleweed | nginx | 0 | 1.11.4-2.5 |
Related vulnerabilities
- CVE-2017-7529 Nginx versions since 0.5.6 up to and including 1.13.2 are vulnerable to integer overflow… Also affects nginx
- CVE-2016-1247 The nginx package before 1.6.2-5+deb8u3 on Debian jessie, the nginx packages before… Also affects nginx
- CVE-2016-0742 The resolver in nginx before 1.8.1 and 1.9.x before 1.9.10 allows remote attackers to… Also affects nginx
- CVE-2014-3616 nginx 0.5.6 through 1.7.4, when using the same shared ssl_session_cache or… Also affects nginx
- CVE-2013-4547 nginx 0.8.41 through 1.4.3 and 1.5.x before 1.5.7 allows remote attackers to bypass… Also affects nginx
- CVE-2013-2070 http/modules/ngx_http_proxy_module.c in nginx 1.1.4 through 1.2.8 and 1.3.0 through… Also affects nginx
- CVE-2012-1180 Use-after-free vulnerability in nginx before 1.0.14 and 1.1.x before 1.1.17 allows remote… Also affects nginx
- CVE-2009-4487 nginx 0.7.64 writes data to a log file without sanitizing non-printable characters, which… Also affects nginx