CVE-2007-4377

SurgeMail 38k - Authenticated Stack-Based Buffer Overflow via IMAP SEARCH Command

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2007-4377. PoCs published by Joey Mengele.

AI-analyzed exploit summary This exploit targets an IMAP server vulnerability (CVE-2007-4377) by sending a maliciously crafted SEARCH command with a buffer overflow payload. It includes shellcode to bind a shell on TCP port 9999, leveraging specific memory addresses for Windows 2003.

Description

Stack-based buffer overflow in the IMAP service in SurgeMail 38k allows remote authenticated users to execute arbitrary code via a long argument to the SEARCH command. NOTE: this might overlap CVE-2007-4372.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Joey Mengele · pythonremotewindows
https://www.exploit-db.com/exploits/4287

This exploit targets an IMAP server vulnerability (CVE-2007-4377) by sending a maliciously crafted SEARCH command with a buffer overflow payload. It includes shellcode to bind a shell on TCP port 9999, leveraging specific memory addresses for Windows 2003.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: IMAP server (specific version not explicitly stated, but likely older Windows-based implementations)
Auth required
Prerequisites: Network access to the target IMAP server · Valid IMAP credentials
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (6)

Core 6
Core References
Mailing List mailing-list x_refsource_fulldisc
http://marc.info/?l=full-disclosure&m=118710179924684&w=2
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2007/2875
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/4287
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/36009
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/26464
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/25318

Scores

EPSS 0.0502
EPSS Percentile 91.2%

Details

Status published
Products (1)
netwin/surgemail 38k
Published Aug 16, 2007
Tracked Since Feb 18, 2026