#VU42707 Stack-based buffer overflow in nginx - CVE-2013-2028
Published: July 20, 2013 / Updated: December 23, 2020
nginx
F5 Networks
Description
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error within the ngx_http_parse_chunked function in http/ngx_http_parse.c when processing a chunked Transfer-Encoding request with a large chunk size, which triggers an integer signedness error and a stack-based buffer overflow. A remote unauthenticated attacker can trigger stack-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Remediation
External links
- http://lists.fedoraproject.org/pipermail/package-announce/2013-May/105176.html
- http://mailman.nginx.org/pipermail/nginx-announce/2013/000112.html
- http://nginx.org/download/patch.2013.chunked.txt
- http://packetstormsecurity.com/files/121675/Nginx-1.3.9-1.4.0-Denial-Of-Service.html
- http://secunia.com/advisories/55181
- http://security.gentoo.org/glsa/glsa-201310-04.xml
- http://www.osvdb.org/93037
- http://www.securityfocus.com/bid/59699
- http://www.vnsecurity.net/2013/05/analysis-of-nginx-cve-2013-2028/
- https://github.com/rapid7/metasploit-framework/pull/1834