Perdition IMAPD IMAP Tag Remote Format String Arbitrary Code Execution

High Nessus Plugin ID 27598


The remote IMAP server is affected by a format string vulnerability.


The remote IMAP service is actually a Perdition IMAP proxy.

The version of Perdition installed on the remote host appears to be affected by a format string vulnerability in which it copies the IMAP tag into a character buffer without first validating it and then passes it to 'vsnprintf()' as a format string. An unauthenticated remote attacker may be able to leverage this issue to execute arbitrary code on the remote host subject to the permissions under which the proxy runs, by default 'nobody'.

Note that exploiting this to actually execute code may be difficult due to OS and compiler security features.


Upgrade to Perdition version 1.17.1 or later.

See Also

Plugin Details

Severity: High

ID: 27598

File Name: perdition_tag_format_string.nasl

Version: $Revision: 1.10 $

Type: remote

Published: 2007/11/01

Modified: 2011/03/11

Dependencies: 11153

Risk Information

Risk Factor: High


Base Score: 7.5

Temporal Score: 6.2

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Temporal Vector: CVSS2#E:F/RL:OF/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Exploitable With

Core Impact

Reference Information

CVE: CVE-2007-5740

BID: 26270

OSVDB: 42004

CWE: 134