UW-imapd CRAM-MD5 Authentication Bypass

medium Nessus Network Monitor Plugin ID 2568

Synopsis

The remote host is vulnerable to a flaw that allows for the bypassing of authentication.

Description

There is a flaw in the remote UW-IMAP server that allows an authenticated user to log into the server as any user. The flaw is in the CRAM-MD5 authentication theme. An attacker exploiting this flaw would only need to identify a vulnerable UW-IMAP server that had enabled the CRAM-MD5 authentication scheme. The attacker would then be able to log in as any valid user.
It is important to note that the IMAP daemon will automatically enable CRAM-MD5 if the /etc/cram-md5.pwd file exists.

Solution

Upgrade or patch according to vendor recommendations. In addition, the fact that CRAM-MD5 is enabled indicates that the server is storing the IMAP passwords in plaintext. Ensure that the /etc/cram-md5.pwd file is mode 0400.

See Also

http://www.washington.edu/imap

Plugin Details

Severity: Medium

ID: 2568

Family: IMAP Servers

Published: 1/28/2005

Updated: 3/6/2019

Risk Information

VPR

Risk Factor: Medium

Score: 5.3

CVSS v2

Risk Factor: Medium

Base Score: 5.1

Temporal Score: 3.8

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

CVSS v3

Risk Factor: Medium

Base Score: 5.6

Temporal Score: 4.9

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:university_of_washington:uw-imap

Reference Information

CVE: CVE-2005-0198

BID: 12391