SurgeMail "SEARCH" Command Buffer Overflow
Secunia Advisory: SA26464
Release Date: 2007-08-15
Last Update: 2007-08-22
Popularity: 4,607 views

Critical:
Moderately critical
Impact: System access
Where: From remote
Solution Status: Vendor Workaround

Software:SurgeMail 3.x

Binary Analysis: BA208 :: Available for Credits

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2007-4377


Description:
Joey Mengele has discovered a vulnerability in SurgeMail, which can be exploited by malicious users to compromise a vulnerable system.

The vulnerability is caused due to a boundary error in the processing of the IMAP "SEARCH" command. This can be exploited to cause a stack-based buffer overflow by sending a "SEARCH" command with an overly long argument.

Successful exploitation allows execution of arbitrary code.

The vulnerability is confirmed in version 38k. Other versions may also be affected.

Solution:
The vendor has provided beta version 3.8m.
http://netwinsite.com/surgemail/betadownloads.htm

Users are also urged to update to version 3.8k2 as soon as it becomes available.

Grant only trusted users access to the SurgeMail IMAP server.

Provided and/or discovered by:
Joey Mengele.

Changelog:
2007-08-20: Update "Solution" section.
2007-08-22: Added CVE reference.

Original Advisory:
http://milw0rm.com/exploits/4287


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Subdreamer Light Global Variables SQL Injection Vulnerability // 37 views
2. Sun Java System Web Proxy Server SOCKS Module Buffer Overflows // 27 views
3. Adobe Flash Player Multiple Vulnerabilities // 22 views
4. Microsoft Office Two Code Execution Vulnerabilities // 22 views
5. Microsoft Word Malformed Object Pointer Vulnerability // 21 views
6. Zeroboard Multiple Vulnerabilities // 20 views
7. Sun Java JDK / JRE Multiple Vulnerabilities // 20 views
8. Apple QuickTime Multiple Vulnerabilities // 17 views
9. 3Com Wireless 8760 Access Point HTTP Request Processing Denial of Service // 16 views
10. phpBB "cur_password" Cross-Site Scripting Vulnerability // 16 views