CVE-2007-5740

unknown
Published — · Modified —
CVSS v3
CVSS v4 NEW
not yet in upstream
VIR risk
1.0

Description

The format string protection mechanism in IMAPD for Perdition Mail Retrieval Proxy 1.17 and earlier allows remote attackers to execute arbitrary code via an IMAP tag with a null byte followed by a format string specifier, which is not counted by the mechanism.

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.

✚ Propose a mitigation on Community → Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-30724 dos linux verified text · 1 KB
Bernhard Mueller · 2007-10-31

Perdition 1.17 - IMAPD __STR_VWRITE Remote Format String

text exploit Source: Exploit-DB
source: https://www.securityfocus.com/bid/26270/info

Perdition IMAP proxy server is prone to a remote format-string vulnerability because it fails to properly sanitize user-supplied input before passing it as the format specifier to a formatted-printing function.

An attacker can exploit this issue to execute arbitrary machine code in the context of the affected application. A successful attack will compromise the application. Failed attempts may cause denial-of-service conditions.

This issue affects Perdition 1.17 and prior versions. 

The following proof of concept is available:

perl -e 'print "abc%n\x00\n"' | nc perdition.example.com 143

OS impact

debian Debian Fixed 5 releases
VersionStatusFixed in
trixie Fixed 1.17.1-1
sid Fixed 1.17.1-1
forky Fixed 1.17.1-1
bullseye Fixed 1.17.1-1
bookworm Fixed 1.17.1-1

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.