Secunia SmallBusiness
Overview
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading

Secunia Advisory SA29105

SurgeMail Format String and Buffer Overflow Vulnerabilities
Secunia Advisory SA29105
Secunia VIM 4.0 - Free Trial
Release Date 2008-02-26
Last Update 2008-03-27
   
Popularity 7,801 views
Comments 0 comments

Criticality level Moderately criticalModerately critical
Impact DoS
System access
Where From remote
Authentication level This information is available to Secunia VIM customers
   
Report reliability This information is available to Secunia VIM customers
Solution Status Vendor Patch
   
   
3rd party PoC/exploit Link available in Customer Area
Systems affected This information is available to Secunia VIM customers
Approve distribution This information is available to Secunia VIM customers
   
Software:
SurgeMail 3.x

Secunia CVSS Score This information is available to Secunia VIM Customers
CVE Reference(s) CVE-2008-1054 CVSS score available to Secunia VIM customers
CVE-2008-1055 CVSS score available to Secunia VIM customers
CVE-2008-1497 CVSS score available to Secunia VIM customers
CVE-2008-1498 CVSS score available to Secunia VIM customers
  

Description

Some vulnerabilities have been discovered in SurgeMail, which can be exploited by malicious users to compromise a vulnerable system and by malicious people to cause a DoS (Denial of Service) or potentially compromise a vulnerable system.

1) A format string error in the webmail.exe CGI application when handling e.g. strings assigned to the "page" parameter can be exploited via a specially crafted HTTP request containing format string specifiers.

Successful exploitation may allow execution of arbitrary code.

2) A boundary error in "_lib_spawn_user_getpid()" within swatch.exe and surgemail.exe can be exploited to cause a stack-based buffer overflow via a specially crafted HTTP request containing e.g. multiple overly long headers.

3) A boundary error exists within the IMAP service when processing "LIST" commands. This can be exploited to cause a stack-based buffer overflow via an overly long argument to a "LIST" command.

4) A boundary error exists within the IMAP service when processing "LSUB" commands. This can be exploited to cause a stack-based buffer overflow via an overly long argument to a "LSUB" command.

Successful exploitation of vulnerabilities #3 and #4 allow execution of arbitrary code, but requires valid user credentials.

The vulnerabilities are confirmed in version 38k4. Other versions may also be affected.


Solution
Update to version 39c.
Further details available to Secunia VIM customers

Provided and/or discovered by
1, 2) Luigi Auriemma
3) Matteo Memelli a.k.a. ryujin
4) Leon Juranic, INFIGO IS

Changelog
Further details available to Secunia VIM customers

Original Advisory
Luigi Auriemma:
http://aluigi.altervista.org/adv/surgemailz-adv.txt

Matteo Memelli:
http://milw0rm.com/exploits/5259

INFIGO-2008-03-07:
http://www.infigo.hr/en/in_focus/advisories/INFIGO-2008-03-07

Deep Links
Links available to Secunia VIM customers


Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: SurgeMail Format String and Buffer Overflow Vulnerabilities
 
No posts yet

-

You must be logged in to post a comment.




 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2013 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability