mailing list archives
From: Thierry Zoller <Thierry () Zoller lu>
Date: Mon, 20 Feb 2006 00:41:28 +0100
As lame as the 2thousands xss ....
Safe'nSec - Insecure File execution and Auto-startup
Ref : TZO-062006-SafenSec
Author : Thierry Zoller
WWW : http://secdev.zoller.lu
Article : http://secdev.zoller.lu/research/safensec.htm
"Safe'n'Sec is complex data and user applications protection against
threats and vulnerabilities for individual PC as well as workstations
in corporate networks. The program uses proactive technology based on
activity analysis in user PC."
Vulnerable versions :
- Safe'nSec Personal + Antispyware v2.0 and older
- Probably the other versions of Safe'nSec
Multiple Insecure File execution and Autostart handling.
snsmcon.exe spawns the GUI process named safensec.exe through the use
of CreateProcess() . By doing so it omits to set the variable'lpApplicationName'
and further omits to quote the path in the variable "lpCommandLine" Ref 
This results in c:\program.bat|exe|com being called prior to
safensec.exe and allows automatic startup of a potentially rogue application.
In particular one could imagine a scenario where it is possible to escalate
rights using this (as they are inherited from snsmcon.exe).
Safe'nSec omits the quotes around the path to the
executable and as such may spawn a rogue application instead of the
appropriate Starforce application.
During installion a routine spawns a process and omits the quotes
around the path, thus executing c:\program.exe (here calc.exe)
Vendor contact : 15/02/2006
Vendor Response : None
Vendor Response :
 Only a real issue in Windows 2000, WinXP restricted users don't have the right to write to c:\
Fingerprint : 5D84 BFDC CD36 A951 2C45 2E57 28B3 75DD 0AC6 F1C7
Full-Disclosure - We believe in it.
Hosted and sponsored by Secunia - http://secunia.com/
- [TZO-062006] Safe'nVulnerable Thierry Zoller (Feb 19)