CVE-2004-2677

qwikmail_smtp <= 0.3 - Remote Code Execution via Format String in SMTP Client Input

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2004-2677. PoCs published by Carlos Barros.

AI-analyzed exploit summary This exploit targets a format string vulnerability in qwik-smtpd 0.3 on Fedora Core 2. It uses a two-stage attack to overwrite the GOT entry of exit() and execute shellcode, bypassing space character filtering by using 0x10 and decrementing it before the int 0x80 syscall.

Description

Format string vulnerability in qwik-smtpd.c in QwikMail SMTP (qwik-smtpd) 0.3 and earlier allows remote attackers to execute arbitrary code via format specifiers in the (1) clientRcptTo array, and the (2) Received and (3) messageID variables, possibly involving HELO and hostname arguments.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Carlos Barros · cremotelinux
https://www.exploit-db.com/exploits/620

This exploit targets a format string vulnerability in qwik-smtpd 0.3 on Fedora Core 2. It uses a two-stage attack to overwrite the GOT entry of exit() and execute shellcode, bypassing space character filtering by using 0x10 and decrementing it before the int 0x80 syscall.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: qwik-smtpd 0.3 on Fedora Core 2
No auth needed
Prerequisites: Network access to the SMTP service (port 25) · Valid email address on the target machine
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (8)

Core 8
Core References
Exploit, Patch, Vendor Advisory vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/11572
Patch, Vendor Advisory vdb-entry x_refsource_sectrack
http://securitytracker.com/id?1012016
Various Sources x_refsource_misc
http://unl0ck.info/advisories/qwik-smtpd.txt
Patch, Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/13037
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/17917
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2007/0687
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/460600/100/0/threaded

Scores

EPSS 0.0644
EPSS Percentile 92.8%

Details

Status published
Products (1)
qwikmail/qwikmail_smtp 0.3
Published Dec 31, 2004
Tracked Since Feb 18, 2026