May 09, 2004
Hat-Squad Advisory: Remote Heap Corruption overflow Vulnerability in MailEnable
May 9, 2004
Hat-Squad Advisory: Remote Heap overflow Vulnerability in MAilEnable
Product: MailEnable Messaging Services
Version: MailEnable Professional Edition v1.5 up to v1.7
Vulnerability: Remote Heap overflow in MailEnable HTTPMail
Release Date: 05/09/2004
Informed on 8 May 2004
Response on 9 May 2004
The Professional Version of MailEnable includes an additional mail access service called HTTPMail. HTTPMail is a mail access protocol based on WEBDAV that allows you to access your mail from the server without downloading the mail (as is often the case with POP). This Service (MEHTTPS) listens on port 8080 by default.
Sending a HTTP request with more than 4045 bytes to MEHTTPS service will cause a heap buffer overflow while logging is enable(by default), and it's possible for a remote attacker to execute code as SYSTEM or just simply crash the service. When Logging is disabled it requires more than 8500 bytes to cause overflow.
1- GET /<4032xA> HTTP/1.1 (while logging is enabled)
2- <8501xA> (logging is disabled)
As a result, EAX and ECX registers will be overwritten.
MailEnable has released a hotfix for this issue (http://mailenable.com/hotfix/MEHTTPS.zip)
Discovery: Behrang Fouladi (email@example.com)
Additional Research: Pejman Davarzani (firstname.lastname@example.org)
The Original advisory could be found at: