AN HTTPD CMDIS.DLL Remote Buffer Overflow Vulnerability

2005-04-08T00:00:00
ID EDB-ID:25364
Type exploitdb
Reporter Tan Chew Keong
Modified 2005-04-08T00:00:00

Description

AN HTTPD CMDIS.DLL Remote Buffer Overflow Vulnerability. CVE-2005-1086. Dos exploit for windows platform

                                        
                                            source: http://www.securityfocus.com/bid/13066/info

AN HTTPD is reported prone to a remote buffer overflow vulnerability.

Specifically, the issue presents itself in 'cmdIS.DLL' which calls the 'GetEnvironmentStrings' function to copy environment variables into a finite sized process buffer.

The attacker can issue a malformed HTTP GET command including excessive data as a value for an affected HTTP header to trigger the overflow. This can lead to arbitrary code execution, allowing the attacker to gain unauthorized access in the context of the Web server.

AN HTTPD 1.42n is reported vulnerable, however, it is possible that other versions are affected as well. 

GET /scripts/cmdIS.dll/cgi-bin/test.bat HTTP/1.0
user-agent: aaaaaaaaaaaaaaaaaaaaaa [approx 8300 characters] aaaaaaaaaaaaaaaaaaaa...