SurgeMail webmail.exe buffer overflow

surgemail-webmail-bo (40834) The risk level is classified as HighHigh Risk

Description:

SurgeMail is vulnerable to a buffer overflow, caused by improper bounds checking of environment strings by the webmail.exe command. By sending an HTTP GET request containing an overly long string, a remote attacker could overflow a buffer and execute arbitrary code on the system with elevated privileges or cause the application to crash.

Platforms Affected:

  • NetWin, SurgeMail 1.9 and prior
  • NetWin, SurgeMail 3.8k4

Remedy:

No remedy available as of February 2008.

Consequences:

Gain Access

References:

  • Luigi Auriemma ADVISORIES, 25 Feb 2008, SurgeMail Mail Server at http://aluigi.altervista.org/adv/surgemailz-adv.txt.
  • NetWin Web site, Fast Reliable Mail Server, stops spam and viruses, easy to install at http://netwinsite.com.
  • BID-27992: SurgeMail Real CGI executables Remote Buffer Overflow Vulnerability
  • CVE-2008-1054: Stack-based buffer overflow in the _lib_spawn_user_getpid function in (1) swatch.exe and (2) surgemail.exe in NetWin SurgeMail 38k4 and earlier, and beta 39a, allows remote attackers to cause a denial of service (daemon crash) and possibly execute arbitrary code via an HTTP request with multiple long headers to webmail.exe and unspecified other CGI executables, which triggers an overflow when assigning values to environment variables. NOTE: some of these details are obtained from third party information.
  • CVE-2008-1498: Stack-based buffer overflow in the IMAP service in NetWin Surgemail 3.8k4-4 and earlier allows remote authenticated users to execute arbitrary code via a long first argument to the LIST command.
  • FrSIRT/ADV-2008-0678: NetWin SurgeMail Format String and Buffer Overflow Vulnerabilities
  • FrSIRT/ADV-2008-0901: Surgemail LIST and LSUB Commands Buffer Overflow Vulnerability
  • SA29105: SurgeMail Format String and Buffer Overflow Vulnerabilities
  • SECTRACK ID: 1019500: SurgeMail Format String and Heap Overflow May Let Remote Users Execute Arbitrary Code

Reported:

Feb 25, 2008

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.

For corrections or additions please email xforce@iss.net

Return to the main page