Vulnerability Note VU#355809

Axis Communications CamImage ActiveX control stack buffer overflow

Original Release date: 04 May 2007 | Last revised: 14 Jun 2007

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. 

Systems Affected (Learn More)

VendorStatusDate NotifiedDate Updated
AxisAffected27 Mar 200704 May 2007
If you are a vendor and your product is affected, let us know.

CVSS Metrics (Learn More)

Group Score Vector
Base N/A N/A
Temporal N/A N/A
Environmental N/A N/A

References

Credit

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
  • Date Public: 03 May 2007
  • Date First Published: 04 May 2007
  • Date Last Updated: 14 Jun 2007
  • Severity Metric: 7.75
  • Document Revision: 11

Feedback

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