Description
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.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Surgemail 3.0 - Real CGI executables Remote Buffer Overflow EDB-31301 · dos · Feb 25, 2008 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 3705 third-party-advisory
- http://aluigi.altervista.org/adv/surgemailz-adv.txt
- 29105 third-party-advisory
- ADV-2008-0678 vdb-entry
- 1019500 vdb-entry
- 20080225 Format string and buffer-overflow in SurgeMail 38k4 mailing-list
- 27992 vdb-entry
- surgemail-webmail-bo(40834) vdb-entry