Symantec Altiris ActiveX Buffer Overflow (Nov 6, 2009)

By

A vulnerability has been reported in the Symantec Altiris Deployment Solution, which can be exploited by attackers to compromise a vulnerable system.

Symantec Altiris Deployment Solution software provides tools to deploy software on desktops and servers. It allows the management of drivers and software updates as well as provision for advanced automation and customized scripting for different deployment tasks.

Symantec Altiris Deployment Solution comes with an ActiveX control AeXNSConsoleUtilities.dll, which can be used to connect to the Deployment Server Web console. It can be instantiated in a web page using the OBJECT tag or via scripting. The ActiveX control has several methods which offer different functionalities. One of the methods is BrowseAndSaveFile, prototyped:

void BrowseAndSaveFile(BSTR bstrFileContent, BSTR bstrName, BSTR bstrTitle, BSTR bstrFilter, VARIANT varRoot)

A stack-based buffer overflow vulnerability exists in the AeXNSConsoleUtilities.dll ActiveX control, specifically, in the BrowseAndSaveFile method. The method does not properly validate the length of the bstrName argument before performing a string copy operation into a fix-sized buffer. An remote attacker can exploit this vulnerability by enticing a target user to open a specially crafted HTML document, which contains an overly long bstrName argument passed to the BrowseAndSaveFile method. Successful exploitation would overwrite critical stack data, such as return addresses and exception handlers, which leads to arbitrary code injection and execution with the privileges of the target user. In the case code execution is not successful, the vulnerable process may terminate abnormally causing a denial of service condition.

The vunerability has be assigned as CVE-2009-3031. It affects AeXNSConsoleUtilities.dll version 6.0.0.1846, Symantec Altiris Deployment Solution 6.9.x, Symantec Altiris Notification Server 6.0.x, and Symantec Management Platform 7.0.x.

The vulnerable control is not intended to be called externally, therefore an invocation of the BrowseAndSaveFile method on the related ActiveX object is likely an attack. SonicWALL has released an IPS signature to detect and block specific exploitation attempts targeting this vulnerability. The signature is listed below:

  • 3201 Symantec AeXNSConsoleUtilities BrowseAndSaveFile Invocation
Security News
The SonicWall Capture Labs Threat Research Team gathers, analyzes and vets cross-vector threat information from the SonicWall Capture Threat network, consisting of global devices and resources, including more than 1 million security sensors in nearly 200 countries and territories. The research team identifies, analyzes, and mitigates critical vulnerabilities and malware daily through in-depth research, which drives protection for all SonicWall customers. In addition to safeguarding networks globally, the research team supports the larger threat intelligence community by releasing weekly deep technical analyses of the most critical threats to small businesses, providing critical knowledge that defenders need to protect their networks.