Title: SMTP.Proxy Remote Format String Vulnerability
Severity: HIGH
Description:
smtp.proxy is an SMTP gateway that is available for UNIX and Linux variants.
smtp.proxy is prone to a remotely exploitable format string vulnerability. This issue may be exploited to execute arbitrary code in the context of the server.
The vulnerability occurs in routines that log SMTP headers in email passed through the proxy. Specifically, the syslog() function is used in an insecure manner in the smtp.c source file, allowing remote users to include their own format specifiers. Certain specifiers, such as %n, may be abused to write to an arbitrary location in memory. In this manner, it is possible to control the execution flow of the program to execute arbitrary code. Though a number of message header fields will be passed to syslog() and may allow for the issue to be triggered, it has been reported that the user-specified message-id field is most suitable for exploitation of the issue.
Affected Products:
- smtp.proxy smtp.proxy 1.1.3
References:
- 0xbadc0ded: 0xbadc0ded Advisory #04 - 2004/06/10 - smtp.proxy <= 1.1.3
- smtp.proxy: smtp.proxy Homepage
Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.