vendor:
IMAP daemon
by:
Akylonius
7.5
CVSS
HIGH
Remote exploit
CWE
Product Name: IMAP daemon
Affected Version From: Unknown
Affected Version To: Unknown
Patch Exists: NO
Related CWE:
CPE:
Platforms Tested: Linux
1997
IMAP Exploit for Linux
This is a remote exploit for the hole in the imap daemon for Linux. It adds a line root::0:0.. at the beginning of /etc/passwd or /etc/shadow, depending on the need. The code needs to be self-modifying since imapd turns everything to lowercase before pushing it on the stack. The problem is that it overwrites the first line of passwd/shadow, causing the loss of the root password.
Mitigation:
Patch or update the imap daemon to fix the vulnerability. Ensure strong passwords are set for root accounts.