Title: Salim Gasmi GLD Postfix Greylisting Daemon Format String Vulnerability
Severity: CRITICAL
Description:
Salim Gasmi's GLD Postfix greylisting daemon is a standalone daemon designed to implement the greylisting protocol as described at http://www.greylisting.org.
It is reported that GLD contains a format string vulnerability. This issue is due to a failure of the application to properly sanitize user-supplied input data prior to using it in a formatted-printing function.
Specifically, in the 'cnf.c' file, in the 'ErrorLog()' function, there is a call to the 'syslog()' function that fails to properly sanitize user-supplied input data. The 'ErrorLog()' function is used in the 'server.c' file, in multiple places.
Remote attackers may exploit this vulnerability to cause arbitrary machine code to be executed in the context of the affected service. As the service is designed to be run as the superuser, remote attackers may gain superuser privileges on affected computers.
GLD version 1.4 is reportedly affected, but prior versions may also be affected.
Affected Products:
- Gentoo Linux
- Salim Gasmi GLD 1.0.0
- Salim Gasmi GLD 1.1.0
- Salim Gasmi GLD 1.2.0
- Salim Gasmi GLD 1.3.0
- Salim Gasmi GLD 1.3.1
- Salim Gasmi GLD 1.4.0
References:
- Salim Gasmi: GLD Home Page
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.