vendor:
httpdx
by:
st3n
7,5
CVSS
HIGH
Heap Overflow
119
CWE
Product Name: httpdx
Affected Version From: 1.5.4
Affected Version To: 1.5.4
Patch Exists: YES
Related CWE: N/A
CPE: httpdx
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: WinXP SP1
2012
httpdx <= 1.5.4 Remote Heap Overflow
httpdx allocates memory with malloc(size+1), where 'size' is actually the value of "Content-Length" HTTP header. All post-data will then be copied into this area using strncpy(x,y,size2), where 'size2' = "request length" - "header length" (and not Content-Length). As httpdx use it own handler function upon crash, this exploit overwrite the first _VECTORED_EXCEPTION_NODE structure with a pointer to our shellcode.
Mitigation:
Update to the latest version of httpdx