Vulnerability Assessment & Network Security Forums



If through a vulnerability assessment, a network security issue is detected for the vulnerability below, applying the appropriate security patches in a timely matter is very important.  If you have detected that your system has already been compromised, following CERT's Network Security recovery document will assist with recommended steps for system recovery.


Home >> Browse Vulnerability Assessment Database >> Gentoo Local Security Checks >> [GLSA-200408-19] courier-imap: Remote Format String Vulnerability


Vulnerability Assessment Details

[GLSA-200408-19] courier-imap: Remote Format String Vulnerability

Vulnerability Assessment Summary
courier-imap: Remote Format String Vulnerability

Detailed Explanation for this Vulnerability Assessment
The remote host is affected by the vulnerability described in GLSA-200408-19
(courier-imap: Remote Format String Vulnerability)


There is a format string vulnerability in the auth_debug() function which
can be exploited remotely, potentially leading to arbitrary code execution
as the user running the IMAP daemon (oftentimes root). A remote attacker
may send username or password information containing printf() format tokens
(such as "%s"), which will crash the server or cause it to
execute arbitrary code.
This vulnerability can only be exploited if DEBUG_LOGIN is set to something
other than 0 in the imapd config file.

Impact

If DEBUG_LOGIN is enabled in the imapd configuration, a remote attacker may
execute arbitrary code as the root user.

Workaround

Set the DEBUG_LOGIN option in /etc/courier-imap/imapd to 0. (This is the
default value.)

References:
http://www.idefense.com/application/poi/display?id=131&type=vulnerabilities&flashstatus=true


Solution:
All courier-imap users should upgrade to the latest version:
# emerge sync
# emerge -pv ">=net-mail/courier-imap-3.0.5"
# emerge ">=net-mail/courier-imap-3.0.5"


Network Security Threat Level: High


Networks Security ID:

Vulnerability Assessment Copyright: (C) 2005 Michel Arboi

Cables, Connectors

J4899C - HP Procurve 2650 48-Port 10/100Base-TX 2x GbE 2x SFP Ethernet Switch
$20.0
J4899C - HP Procurve 2650 48-Port 10/100Base-TX 2x GbE 2x SFP Ethernet Switch pictureCisco Catalyst WS-C3750E-24PD-E 24-Port PoE Gigabit Ethernet w/ 750W PSU 2x SFP
$175.0
Cisco Catalyst WS-C3750E-24PD-E 24-Port PoE Gigabit Ethernet w/ 750W PSU 2x SFP picture10Gig Direct Attached SFP+ Copper Cable, 30 AWG, 1 Meter
$69.95
10Gig Direct Attached SFP+ Copper Cable, 30 AWG, 1 Meter pictureIBM PMC PM8032 Quad Port 8GB Fibre Channel PCI-E HBA M14669A 31P1641 w/ SFP
$19.99
IBM PMC PM8032 Quad Port 8GB Fibre Channel PCI-E HBA M14669A 31P1641 w/ SFP picture


Discussions

No Discussions have been posted on this vulnerability.