SPDY memory corruption
A bug in nginx's experimental SPDY module could let an attacker corrupt worker process memory with a crafted request, potentially leading to arbitrary code execution. The issue only affects nginx 1.5.10 on 32-bit platforms with the SPDY module enabled.
- Fixed in 26 hours
- Paid in under an hour
- Disclosed after under an hour
A bug in the experimental SPDY implementation in nginx 1.5.10 was found, which might allow an attacker to corrupt worker process memory by using a specially crafted request, potentially resulting in arbitrary code execution (CVE-2014-0088).
The problem only affects nginx 1.5.10 on 32-bit platforms, compiled with the ngx_http_spdy_module module (which is not compiled by default), if the "spdy" option of the "listen" directive is used in a configuration file.
The problem is fixed in nginx 1.5.11.
Patch for the problem can be found here:
http://nginx.org/download/patch.2014.spdy.txt
Thanks to Lucas Molas, researcher at Programa STIC, Fundación Dr. Manuel Sadosky, Buenos Aires, Argentina.
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 a memory handling flaw in the experimental SPDY request processing code.
Impact
An attacker could corrupt worker process memory and potentially achieve arbitrary code execution, but only on nginx 1.5.10, 32-bit platforms, with the non-default SPDY module compiled and enabled.
What the attacker needed
Nginx 1.5.10; 32-bit platform; SPDY module compiled in; spdy option enabled on listen
The fix
The problem was fixed in nginx 1.5.11.
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.
This is a memory corruption bug in a web server called nginx. When a program mishandles memory, an attacker might be able to change data it should not touch, and in the worst case run their own code. Only a very specific setup was affected: one version, on 32-bit systems, with an optional feature turned on.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.