Vulnerabilities > CVE-2009-4769 - USE of Externally-Controlled Format String vulnerability in Jasper Httpdx
Attack vector
NETWORK Attack complexity
MEDIUM Privileges required
NONE Confidentiality impact
COMPLETE Integrity impact
COMPLETE Availability impact
COMPLETE Summary
Multiple format string vulnerabilities in the tolog function in httpdx 1.4, 1.4.5, 1.4.6, 1.4.6b, and 1.5 allow (1) remote attackers to execute arbitrary code via format string specifiers in a GET request to the HTTP server component when logging is enabled, and allow (2) remote authenticated users to execute arbitrary code via format string specifiers in a PWD command to the FTP server component.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 5 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Format String Injection An attacker includes formatting characters in a string input field on the target application. Most applications assume that users will provide static text and may respond unpredictably to the presence of formatting character. For example, in certain functions of the C programming languages such as printf, the formatting character %s will print the contents of a memory location expecting this location to identify a string and the formatting character %n prints the number of DWORD written in the memory. An attacker can use this to read or write to memory locations or files, or simply to manipulate the value of the resulting text in unexpected ways. Reading or writing memory may result in program crashes and writing memory could result in the execution of arbitrary code if the attacker can write to the program stack.
- String Format Overflow in syslog() This attack targets the format string vulnerabilities in the syslog() function. An attacker would typically inject malicious input in the format string parameter of the syslog function. This is a common problem, and many public vulnerabilities and associated exploits have been posted.
Exploit-Db
description HTTPDX tolog() Function Format String Vulnerability. CVE-2009-4769. Remote exploit for windows platform id EDB-ID:16732 last seen 2016-02-02 modified 2010-08-25 published 2010-08-25 reporter metasploit source https://www.exploit-db.com/download/16732/ title HTTPDX tolog Function Format String Vulnerability description HTTPDX tolog() Function Format String Vulnerability. CVE-2009-4769. Remote exploit for windows platform id EDB-ID:16794 last seen 2016-02-02 modified 2010-08-25 published 2010-08-25 reporter metasploit source https://www.exploit-db.com/download/16794/ title HTTPDX tolog Function Format String Vulnerability
Metasploit
description This module exploits a format string vulnerability in HTTPDX HTTP server. By sending a specially crafted HTTP request containing format specifiers, an attacker can corrupt memory and execute arbitrary code. By default logging is off for HTTP, but enabled for the 'moderator' user via FTP. id MSF:EXPLOIT/WINDOWS/HTTP/HTTPDX_TOLOG_FORMAT last seen 2020-06-01 modified 2017-09-14 published 2009-11-18 references https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-4769 reporter Rapid7 source https://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/http/httpdx_tolog_format.rb title HTTPDX tolog() Function Format String Vulnerability description This module exploits a format string vulnerability in HTTPDX FTP server. By sending a specially crafted FTP command containing format specifiers, an attacker can corrupt memory and execute arbitrary code. By default logging is off for HTTP, but enabled for the 'moderator' user via FTP. id MSF:EXPLOIT/WINDOWS/FTP/HTTPDX_TOLOG_FORMAT last seen 2020-05-21 modified 2018-08-20 published 2009-11-17 references https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-4769 reporter Rapid7 source https://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/ftp/httpdx_tolog_format.rb title HTTPDX tolog() Function Format String Vulnerability
References
- http://osvdb.org/60181
- http://osvdb.org/60182
- http://www.metasploit.com/redmine/projects/framework/repository/revisions/7569/entry/modules/exploits/windows/ftp/httpdx_tolog_format.rb
- http://www.metasploit.com/redmine/projects/framework/repository/revisions/7569/entry/modules/exploits/windows/http/httpdx_tolog_format.rb
- http://www.vupen.com/english/advisories/2009/3312