search menu icon-carat-right cmu-wordmark

CERT Coordination Center

Axis Communications CamImage ActiveX control stack buffer overflow

Vulnerability Note VU#355809

Original Release Date: 2007-05-04 | Last Revised: 2007-06-14

Overview

The Axis Communications CamImage ActiveX control contains a stack buffer overflow, which can allow a remote, unauthenticated attacker to run arbitrary code on a vulnerable system.

Description

Axis Communications provides an ActiveX control for viewing motion JPEG streams in Microsoft development tools and Microsoft Internet Explorer. The ActiveX control, provided by AxisCamControl.ocx, is known as "CamImage" or "Axis Camera Control." The SaveBMP() method of this control contains a stack buffer overflow.

Axis Communications lists the following products as being affected:
AXIS 2100, AXIS 2110, AXIS 2120, AXIS 2130 PTZ, AXIS 2420, AXIS 2420-IR, AXIS 2400, AXIS 2400+, AXIS 2401, AXIS 2401+, AXIS 2411, AXIS Panorama PTZ

Impact

By convincing a user to view a specially crafted HTML document (e.g., a web page or an HTML email message or attachment), an attacker may be able to execute arbitrary code with the privileges of the user. The attacker could also cause the web browser to crash.

Solution

Apply an update

This vulnerability is addressed in the Axis Camera Control update. This update will install version 2.40.0.0 of the ActiveX control. Details for the security update are available in the Axis Camera Control ActiveX Update PDF document. If you cannot install the update, please use the following workarounds:


Disable the Axis CamImage ActiveX control in Internet Explorer

The vulnerable ActiveX control can be disabled in Internet Explorer by setting the kill bit for the following CLSID:

{917623D1-D8E5-11D2-BE8B-00104B06BDE3}
More information about how to set the kill bit is available in Microsoft Support Document 240797. Alternatively, the following text can be saved as a .REG file and imported to set the kill bit for this control:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{917623D1-D8E5-11D2-BE8B-00104B06BDE3}]
"Compatibility Flags"=dword:00000400
Please note that setting the kill bit will remove some of the Internet Explorer functionality provided by the Axis software.

Disable ActiveX

Disabling ActiveX controls in the Internet Zone (or any zone used by an attacker) appears to prevent exploitation of this and other ActiveX vulnerabilities. Instructions for disabling ActiveX in the Internet Zone can be found in the "Securing Your Web Browser" document. 

Vendor Information

355809
 

Axis Affected

Notified:  March 27, 2007 Updated: May 04, 2007

Status

Affected

Vendor Statement

We have not received a statement from the vendor.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

Please see the Axis Camera Control ActiveX Update PDF document.

If you have feedback, comments, or additional information about this vulnerability, please send us email.


CVSS Metrics

Group Score Vector
Base
Temporal
Environmental

References

Acknowledgements

This vulnerability was reported by Will Dormann of the CERT/CC.

This document was written by Will Dormann.

Other Information

CVE IDs: CVE-2007-2239
Severity Metric: 7.75
Date Public: 2007-05-03
Date First Published: 2007-05-04
Date Last Updated: 2007-06-14 17:33 UTC
Document Revision: 11

Sponsored by CISA.