Description
Format string vulnerability in the ErrorLog function in cnf.c in Greylisting daemon (GLD) 1.3 and 1.4 allows remote attackers to execute arbitrary code via format string specifiers in data that is passed directly to syslog.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | postfix-gld | 1.5-1 | — |
| Debian 13 | postfix-gld | 1.5-1 | — |
| Debian 12 | postfix-gld | 1.5-1 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- gld 1.4 - Postfix Greylisting Daemon Remote Format String EDB-934 · remote · Apr 13, 2005 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 15493 vdb-entry
- 1013678 vdb-entry
- GLSA-200504-10 vendor-advisory
- 14941 third-party-advisory
- 20050412 GLD (Greylisting daemon for Postfix) multiple vulnerabilities. mailing-list
- gld-cnfc-format-string(20067) vdb-entry