CVE-2004-1520

IPSwitch IMail 8.13 - Authenticated Stack-Based Buffer Overflow via IMAP DELETE Command

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 5 public exploits for CVE-2004-1520. PoCs published by Metasploit, Zatlander, spoonm, including Metasploit module exploits/windows/imap/imail_delete.

AI-analyzed exploit summary This exploit targets a buffer overflow in the 'DELETE' command of the IMail IMAP4D service (CVE-2004-1520). It requires valid credentials and sends a crafted payload to achieve remote code execution on vulnerable Windows systems.

Description

Stack-based buffer overflow in IPSwitch IMail 8.13 allows remote authenticated users to execute arbitrary code via a long IMAP DELETE command.

Exploits (5)

exploitdb WORKING POC VERIFIED
by Metasploit · rubyremotewindows
https://www.exploit-db.com/exploits/16479

This exploit targets a buffer overflow in the 'DELETE' command of the IMail IMAP4D service (CVE-2004-1520). It requires valid credentials and sends a crafted payload to achieve remote code execution on vulnerable Windows systems.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: IMail IMAP4D < 8.14
Auth required
Prerequisites: Valid IMAP credentials · Network access to the IMAP service
devstral-2 · analyzed Feb 16, 2026 Full analysis →
exploitdb WORKING POC VERIFIED
by Metasploit · remotewindows
https://www.exploit-db.com/exploits/1151

This exploit targets a buffer overflow in MDaemon IMAP 8.0.3's CRAM-MD5 authentication. It sends a maliciously crafted base64-encoded payload to trigger the overflow and achieve remote code execution.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: MDaemon IMAP 8.0.3
No auth needed
Prerequisites: Network access to the target IMAP service · MDaemon IMAP 8.0.3 running on Windows XP SP2
devstral-2 · analyzed Feb 16, 2026 Full analysis →
exploitdb WORKING POC VERIFIED
by Zatlander · perlremotewindows
https://www.exploit-db.com/exploits/627

This exploit targets a stack overflow in IPSwitch IMail 8.13 via the DELETE command, using an egghunter and alpha-numeric shellcode to spawn a bind shell on port 4444. It requires valid authentication and leverages ASCII-safe addresses for reliability.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: IPSwitch IMail 8.13
Auth required
Prerequisites: Valid IMAP credentials · Network access to target IMAP server
devstral-2 · analyzed Feb 16, 2026 Full analysis →
metasploit WORKING POC NORMAL
by spoonm · rubypocwin
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/imap/imail_delete.rb

This Metasploit module exploits a buffer overflow in the 'DELETE' command of the IMail IMAP4D service, requiring valid credentials. It targets Windows XP SP0 with a crafted payload to achieve remote code execution.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: IMail IMAP4D < 8.14
Auth required
Prerequisites: Valid IMAP credentials · Network access to IMAP4D service
devstral-2 · analyzed Feb 16, 2026 Full analysis →
metasploit WORKING POC GREAT
by Unknown · rubypocwin
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/imap/mdaemon_cram_md5.rb

This Metasploit module exploits a buffer overflow in MDaemon IMAP 8.0.3's CRAM-MD5 authentication. It sends a maliciously crafted base64-encoded payload to trigger a stack-based overflow, leading to remote code execution.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: MDaemon IMAP 8.0.3
No auth needed
Prerequisites: Network access to the IMAP service · MDaemon IMAP 8.0.3 running on Windows XP SP2
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (4)

Core 4
Core References
Patch, Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/13200
Mailing List mailing-list x_refsource_bugtraq
http://marc.info/?l=bugtraq&m=110037283803560&w=2
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/18058
Exploit, Patch vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/11675

Scores

EPSS 0.8851
EPSS Percentile 99.8%

Details

Status published
Products (1)
ipswitch/imail 8.13
Published Dec 31, 2004
Tracked Since Feb 18, 2026