Vulnerabilities > CVE-2007-6339 - Code Injection vulnerability in Akamai Technologies Download Manager

047910
CVSS 6.8 - MEDIUM
Attack vector
NETWORK
Attack complexity
MEDIUM
Privileges required
NONE
Confidentiality impact
PARTIAL
Integrity impact
PARTIAL
Availability impact
PARTIAL

Summary

The Akamai Download Manager (aka DLM or dlmanager) ActiveX control (DownloadManagerV2.ocx) before 2.2.3.5 allows remote attackers to force the download and execution of arbitrary code via unspecified "undocumented object parameters."

Vulnerable Configurations

Part Description Count
Application
Akamai_Technologies
1

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Leverage Executable Code in Non-Executable Files
    An attack of this type exploits a system's trust in configuration and resource files, when the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high. The attack can be directed at a client system, such as causing buffer overrun through loading seemingly benign image files, as in Microsoft Security Bulletin MS04-028 where specially crafted JPEG files could cause a buffer overrun once loaded into the browser. Another example targets clients reading pdf files. In this case the attacker simply appends javascript to the end of a legitimate url for a pdf (http://www.gnucitizen.org/blog/danger-danger-danger/) http://path/to/pdf/file.pdf#whatever_name_you_want=javascript:your_code_here The client assumes that they are reading a pdf, but the attacker has modified the resource and loaded executable javascript into the client's browser process. The attack can also target server processes. The attacker edits the resource or configuration file, for example a web.xml file used to configure security permissions for a J2EE app server, adding role name "public" grants all users with the public role the ability to use the administration functionality. The server trusts its configuration file to be correct, but when they are manipulated, the attacker gains full control.
  • Manipulating User-Controlled Variables
    This attack targets user controlled variables (DEBUG=1, PHP Globals, and So Forth). An attacker can override environment variables leveraging user-supplied, untrusted query variables directly used on the application server without any data sanitization. In extreme cases, the attacker can change variables controlling the business logic of the application. For instance, in languages like PHP, a number of poorly set default configurations may allow the user to override variables.

Nessus

NASL familyWindows
NASL idAKAMAI_DLM_ACTIVEX_2_2_3_5.NASL
descriptionThe Windows remote host contains the Download Manager ActiveX control from Akamai, which helps users download content. The version of this ActiveX control on the remote host reportedly allows downloading and automatic execution of arbitrary code. If an attacker can trick a user on the affected host into visiting a specially crafted web page, this method could be leveraged to execute arbitrary code on the affected system subject to the user
last seen2020-06-01
modified2020-06-02
plugin id32082
published2008-05-01
reporterThis script is Copyright (C) 2008-2018 Tenable Network Security, Inc.
sourcehttps://www.tenable.com/plugins/nessus/32082
titleAkamai Download Manager ActiveX Control < 2.2.3.5 Remote Code Execution
code
#
#  (C) Tenable Network Security, Inc.
#


include("compat.inc");

if (description)
{
  script_id(32082);
  script_version("1.19");

  script_cve_id("CVE-2007-6339");
  script_bugtraq_id(28993);
  script_xref(name:"Secunia", value:"30037");

  script_name(english:"Akamai Download Manager ActiveX Control < 2.2.3.5 Remote Code Execution");
  script_summary(english:"Checks version of Download Manager ActiveX control");

 script_set_attribute(attribute:"synopsis", value:
"The remote Windows host has an ActiveX control that allows remote code
execution." );
 script_set_attribute(attribute:"description", value:
"The Windows remote host contains the Download Manager ActiveX control
from Akamai, which helps users download content.

The version of this ActiveX control on the remote host reportedly
allows downloading and automatic execution of arbitrary code.  If an
attacker can trick a user on the affected host into visiting a
specially crafted web page, this method could be leveraged to execute
arbitrary code on the affected system subject to the user's
privileges." );
 # https://labs.idefense.com/verisign/intelligence/2009/vulnerabilities/display.php?id=695
 script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?3f59bfc9" );
 script_set_attribute(attribute:"see_also", value:"https://seclists.org/bugtraq/2008/May/1" );
 script_set_attribute(attribute:"see_also", value:"https://seclists.org/fulldisclosure/2008/Apr/816" );
 script_set_attribute(attribute:"solution", value:
"Upgrade to version 2.2.3.5 or later of the control." );
 script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C");
 script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C");
 script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
 script_set_attribute(attribute:"exploit_available", value:"true");
 script_set_attribute(attribute:"exploit_framework_canvas", value:"true");
 script_set_attribute(attribute:"canvas_package", value:'D2ExploitPack');
 script_cwe_id(94);
 script_set_attribute(attribute:"plugin_publication_date", value: "2008/05/01");
 script_cvs_date("Date: 2018/11/15 20:50:26");
script_set_attribute(attribute:"plugin_type", value:"local");
script_end_attributes();


  script_category(ACT_GATHER_INFO);
  script_family(english:"Windows");

  script_copyright(english:"This script is Copyright (C) 2008-2018 Tenable Network Security, Inc.");

  script_dependencies("smb_hotfixes.nasl");
  script_require_keys("SMB/Registry/Enumerated");
  script_require_ports(139, 445);

  exit(0);
}


include("global_settings.inc");
include("smb_func.inc");
include("smb_activex_func.inc");

if (!get_kb_item("SMB/Registry/Enumerated")) exit(0);

# Locate the file used by the control.
if (activex_init() != ACX_OK) 
  exit(1, "ActiveX initialization failed.");

clsids = make_list("{FFBB3F3B-0A5A-4106-BE53-DFE1E2340CB1}",
                   "{2AF5BD25-90C5-4EEC-88C5-B44DC2905D8B}");

info = NULL;
foreach clsid (clsids)
{
 file = activex_get_filename(clsid:clsid);

 if (file)
 {
   # Check its version.
   ver = activex_get_fileversion(clsid:clsid);

   # Fixed version of DownloadManagerV2.ocx == 2.2.3.5
   if (ver && activex_check_fileversion(clsid:clsid, fix:"2.2.3.5") == TRUE)
    {
      if (report_paranoia > 1 || activex_get_killbit(clsid:clsid) == 0)
       {
        info += '  - ' + clsid + '\n' +
                '    ' + file + ', ' + ver + '\n';

        if (!thorough_tests) break;
       } 
    }
  }
}

activex_end();

if (info)
{
  if (report_verbosity > 0)
  {
    if (report_paranoia > 1)	
    {
      report = string(
        "\n",
     	"Nessus found the following affected control(s) installed :\n",
     	"\n",
    	info,
      	"\n",
        "Note that Nessus did not check whether the kill bit was set for\n",
        "the control(s) because of the Report Paranoia setting in effect\n",
        "when this scan was run.\n"
      );
    }
    else
    {
      report = string(
        "\n",
        "Nessus found the following affected control(s) installed :\n",
        "\n",
        info,
        "\n",
        "Moreover, the kill bit was  not set for the control(s) so they\n",
        "are accessible via Internet Explorer.\n"
      );
    }
    security_hole(port:kb_smb_transport(), extra:report);
  }	  	 
  else security_hole(kb_smb_transport());
} 

Seebug

bulletinFamilyexploit
descriptionBUGTRAQ ID: 28993 CVE(CAN) ID: CVE-2007-6339 Akamai下载管理器是用于帮助用户方便下载的客户端软件。 Akamai下载管理器的DownloadManager控件没有正确地验证某些对象参数,远程攻击者可能利用此漏洞在用户机器上执行任意指令。 ActiveX控件版本标识如下: 类:DownloadManager Control CLSID:2AF5BD25-90C5-4EEC-88C5-B44DC2905D8B CLSID:FFBB3F3B-0A5A-4106-BE53-DFE1E2340CB1 ProgId:MANAGER.DLMCtrl.1 文件:C:\Windows\Downloaded Program Files\DownloadManagerV2.ocx Java版本标识如下: 类:com.akamai.dm.ui.applet.DMApplet.class JAR:dlm-java-2.2.2.0.jar 如果用户受骗访问了恶意网页,下载管理器就会自动下载并执行攻击者控制位置的任意二进制程序。 Akamai Download Manager &lt; 2.2.3.5 Akamai ------ 目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载: <a href=http://dlm.tools.akamai.com/tools/upgrade.html target=_blank>http://dlm.tools.akamai.com/tools/upgrade.html</a>
idSSV:3257
last seen2017-11-19
modified2008-05-07
published2008-05-07
reporterRoot
titleAkamai Download Manager ActiveX控件远程代码执行漏洞