Exploit database

Vulnerability

CVE-2013-2028

Vulnerability details

Score
7.5
Severity
high

CVSS 2.0 · NVD

Vector string

AV:N/AC:L/Au:N/C:P/I:P/A:P

Description

The ngx_http_parse_chunked function in http/ngx_http_parse.c in nginx 1.3.9 through 1.4.0 allows remote attackers to cause a denial of service (crash) and execute arbitrary code via a chunked Transfer-Encoding request with a large chunk size, which triggers an integer signedness error and a stack-based buffer overflow.

CVE Program

Exploit source choices

8 sources
Nginx HTTP Server 1.3.9-1.4.0 Chunked Encoding Stack Buffer Overflow
MSF-linux--http--nginx_chunked_sizeMetasploitUnix / remote

This module exploits a stack buffer overflow in versions 1.3.9 to 1.4.0 of nginx. The exploit first triggers an integer overflow in the ngx_http_parse_chunked() by supplying an overly long hex value as chunked block size. This value is later used when determining the number of bytes to read into a stack buffer, thus the overflow becomes possible.

2013-05-07nginx_chunked_size.rb
kitctf/nginxpwn
GH-d00db21da83d4679a8753479d545be00GitHubUnofficial GitHub source

Exploitation Training -- CVE-2013-2028: Nginx Stack Based Buffer Overflow

2016-03-23301 files · 55 stars
danghvu/nginx-1.4.0
GH-02817278b960fac93515b85d69514c9dGitHubUnofficial GitHub source

For the analysis of CVE-2013-2028

2013-05-21262 files · 30 stars
m4drat/cve-2013-2028-exploit
GH-15365b91b2c1c1b6d593fbc0e58c14ceGitHubUnofficial GitHub source

CVE-2013-2028 python exploit

2020-06-271 file · 19 stars