Executive Summary

Summary
Title AVG Safeguard and Secure Search ActiveX controls provides insecure methods
Informations
Name VU#960193 First vendor Publication 2014-07-07
Vendor VU-CERT Last vendor Modification 2014-07-25
Severity (Vendor) N/A Revision M

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:M/Au:N/C:C/I:C/A:C)
Cvss Base Score 9.3 Attack Range Network
Cvss Impact Score 10 Attack Complexity Medium
Cvss Expoit Score 8.6 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

Vulnerability Note VU#960193

AVG Safeguard and Secure Search ActiveX controls provides insecure methods

Original Release date: 07 Jul 2014 | Last revised: 25 Jul 2014

Overview

The AVG Secure Search toolbar, also known as AVG Safeguard includes an ActiveX control that provides a number of unsafe methods, which may allow a remote, unauthenticated attacker to execute arbitrary code with the privileges of the user.

Description

AVG Secure Search is a toolbar add-on for web browsers that "... provides an additional security layer while searching and surfing to protect you from infected websites." One of the components provided by AVG Secure Search is an ActiveX control called ScriptHelperApi, which is provided by ScriptHelper.exe. This ActiveX control is marked as Safe for Scripting in Internet Explorer, which means that the author has determined that the control cannot be repurposed by an attacker. Because this control does not internally enforce any restrictions on which sites may invoke its methods, such as by using the SiteLock template, this means that any website can invoke the methods exposed by the ScriptHelper ActiveX control. The installer for AVG Secure Search also sets the ElevationPolicy registry value for the control, which means that the control is excluded from the Internet Explorer Protected Mode sandbox. The installer for AVG Secure Search also sets the Preapproved registry value, which bypasses the Internet Explorer ActiveX Opt-In feature that was introduced with IE 7.

The AVG Safeguard and Secure Search ScriptHelper ActiveX control versions up to and including version 18.1.6 contain a number of unsafe methods that can be used in Internet Explorer. Other browsers do not appear to be affected.

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 download and execute arbitrary code with the privileges of the logged-on user.

Solution

Apply an update

This issue is addressed in AVG Secure Search toolbar version 18.1.7.598 and AVG Safeguard 18.1.7.644. While these versions are still marked as Safe for Scripting, this version of the control has restrictions in place that prevent its use by web pages hosted by domains other than .avg.com or .avg.nation.com. Please also consider the following workaround:

Disable the AVG ScriptHelper ActiveX control in Internet Explorer

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

    {F25AF245-4A81-40DC-92F9-E9021F207706}
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\{F25AF245-4A81-40DC-92F9-E9021F207706}]
    "Compatibility Flags"=dword:00000400
    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\ActiveX Compatibility\{F25AF245-4A81-40DC-92F9-E9021F207706}]
    "Compatibility Flags"=dword:00000400

Vendor Information (Learn More)

VendorStatusDate NotifiedDate Updated
AVG Anti-virus SoftwareAffected19 May 201427 May 2014
If you are a vendor and your product is affected, let us know.

CVSS Metrics (Learn More)

GroupScoreVector
Base9.3AV:N/AC:M/Au:N/C:C/I:C/A:C
Temporal8.0E:POC/RL:W/RC:C
Environmental6.0CDP:ND/TD:M/CR:ND/IR:ND/AR:ND

References

  • http://www.cert.org/vulnerability-analysis/tools/dranzer.cfm
  • http://www.avg.com/us-en/secure-search
  • http://msdn.microsoft.com/en-us/library/aa751977%28v=vs.85%29.aspx
  • http://msdn.microsoft.com/en-us/library/aa752035%28v=vs.85%29.aspx#ax_repurposing
  • http://msdn.microsoft.com/en-us/library/aa752035%28v=vs.85%29.aspx#ax_judging
  • http://msdn.microsoft.com/en-us/library/bb250462%28v=vs.85%29.aspx
  • http://windows.microsoft.com/en-us/windows-vista/what-does-internet-explorer-protected-mode-do
  • http://blogs.msdn.com/b/ieinternals/archive/2011/04/02/activex-control-restrictions-in-ie.aspx
  • http://msdn.microsoft.com/en-us/library/bb250471%28v=vs.85%29.aspx

Credit

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

This document was written by Will Dormann.

Other Information

  • CVE IDs:CVE-2014-2956
  • Date Public:07 Jul 2014
  • Date First Published:07 Jul 2014
  • Date Last Updated:25 Jul 2014
  • Document Revision:24

Feedback

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

Original Source

Url : http://www.kb.cert.org/vuls/id/960193

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-264 Permissions, Privileges, and Access Controls

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 1
Application 1

Nessus® Vulnerability Scanner

Date Description
2014-07-18 Name : The remote Windows host has an ActiveX control that is affected by a remote c...
File : avg_scripthelperapi_activex.nasl - Type : ACT_GATHER_INFO

Alert History

If you want to see full details history, please login or register.
0
1
2
3
4
5
6
Date Informations
2014-07-25 17:22:33
  • Multiple Updates
2014-07-25 13:18:48
  • Multiple Updates
2014-07-19 13:24:36
  • Multiple Updates
2014-07-09 00:25:03
  • Multiple Updates
2014-07-08 17:25:15
  • Multiple Updates
2014-07-08 05:22:47
  • Multiple Updates
2014-07-07 17:21:40
  • First insertion