Vulnerabilities > CVE-2008-4385 - Code Injection vulnerability in Systemrequirementslab System Requirements LAB 3

047910
CVSS 9.3 - CRITICAL
Attack vector
NETWORK
Attack complexity
MEDIUM
Privileges required
NONE
Confidentiality impact
COMPLETE
Integrity impact
COMPLETE
Availability impact
COMPLETE
network
systemrequirementslab
CWE-94
critical
nessus
exploit available
metasploit

Summary

Husdawg, LLC Systems Requirements Lab 3, as used by Instant Expert Analysis, allows remote attackers to force the download and execution of arbitrary programs via by specifiying a malicious website argument to the Init method in (1) a certain ActiveX control (sysreqlab2.cab, sysreqlab.dll, sysreqlabsli.dll, or sysreqlab2.dll) and (2) a certain Java applet in RLApplet.class in sysreqlab2.jar or sysreqlab.jar.

Vulnerable Configurations

Part Description Count
Application
Systemrequirementslab
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.

Exploit-Db

descriptionHusdawg, LLC. System Requirements Lab ActiveX Unsafe Method. CVE-2008-4385. Remote exploit for windows platform
idEDB-ID:16552
last seen2016-02-02
modified2010-09-20
published2010-09-20
reportermetasploit
sourcehttps://www.exploit-db.com/download/16552/
titleHusdawg, LLC. System Requirements Lab ActiveX Unsafe Method

Metasploit

descriptionThis module allows attackers to execute code via an unsafe method in Husdawg, LLC. System Requirements Lab ActiveX Control (sysreqlab2.dll 2.30.0.0)
idMSF:EXPLOIT/WINDOWS/BROWSER/SYSTEMREQUIREMENTSLAB_UNSAFE
last seen2019-12-16
modified2017-07-24
published2008-10-14
referenceshttps://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-4385
reporterRapid7
sourcehttps://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/browser/systemrequirementslab_unsafe.rb
titleHusdawg, LLC. System Requirements Lab ActiveX Unsafe Method

Nessus

NASL familyWindows
NASL idHUSDAWG_SRL_ACTIVEX_CODE_EXECUTION.NASL
descriptionInstant Expert Analysis from Husdawg System Requirements Lab is installed on the remote host. Instant Expert Analysis software allows websites to perform one-click software/hardware analysis of remote systems. An ActiveX component used by Instant Expert Analysis can be exploited to download and execute malicious code from an unauthorized website. Although, the software uses a signed Java applet to download and execute files, it may be possible to execute code without any user interaction if the applet is previously signed on an authorized website. Reportedly either file
last seen2020-06-01
modified2020-06-02
plugin id34491
published2008-10-25
reporterThis script is Copyright (C) 2008-2018 Tenable Network Security, Inc.
sourcehttps://www.tenable.com/plugins/nessus/34491
titleHusdawg System Requirements Lab Multiple ActiveX Remote Code Execution
code
#
#  (C) Tenable Network Security, Inc.
#


include("compat.inc");

if (description)
{
  script_id(34491);
  script_version("1.15");

  script_cve_id("CVE-2008-4385");
  script_bugtraq_id(31752);
  script_xref(name:"CERT", value:"166651");
  script_xref(name:"Secunia", value:"32236");

  script_name(english:"Husdawg System Requirements Lab Multiple ActiveX Remote Code Execution");
  script_summary(english:"Checks version of affected ActiveX control"); 
 
 script_set_attribute(attribute:"synopsis", value:
"The remote Windows host has an ActiveX control that could allow
arbitrary code execution." );
 script_set_attribute(attribute:"description", value:
"Instant Expert Analysis from Husdawg System Requirements Lab is
installed on the remote host.  Instant Expert Analysis software allows
websites to perform one-click software/hardware analysis of remote
systems. 

An ActiveX component used by Instant Expert Analysis can be exploited
to download and execute malicious code from an unauthorized website. 
Although, the software uses a signed Java applet to download and
execute files, it may be possible to execute code without any user
interaction if the applet is previously signed on an authorized
website. 

Reportedly either file 'sysreqlab.dll', 'sysreqlabsli.dll', or
'sysreqlab2.dll' is affected by this issue." );
 script_set_attribute(attribute:"see_also", value:"http://content.systemrequirementslab.com.s3.amazonaws.com/docs/security_bulletin_1.html" );
 script_set_attribute(attribute:"solution", value:
"Upgrade to Husdawg System Requirements Lab 3." );
 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:"metasploit_name", value:'Husdawg, LLC. System Requirements Lab ActiveX Unsafe Method');
 script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
 script_cwe_id(94);

 script_set_attribute(attribute:"plugin_publication_date", value: "2008/10/25");
 script_cvs_date("Date: 2018/11/15 20:50:27");
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(0);

clsids = make_list(
  "{67A5F8DC-1A4B-4D66-9F24-A704AD929EEE}",
  "{BE833F39-1E0C-468C-BA70-25AAEE55775E}",
  "{BE833F39-1E0C-468C-BA70-25AAEE55775F}"
);

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

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

   # Current version of sysreqlab3.dll == 3.0.0.2
   if (ver && activex_check_fileversion(clsid:clsid, fix:"3.0.0.2") == 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)
  {
    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());
} 

Packetstorm

data sourcehttps://packetstormsecurity.com/files/download/83118/systemrequirementslab_unsafe.rb.txt
idPACKETSTORM:83118
last seen2016-12-05
published2009-11-26
reporterMC
sourcehttps://packetstormsecurity.com/files/83118/Husdawg-LLC.-System-Requirements-Lab-ActiveX-Unsafe-Method.html
titleHusdawg, LLC. System Requirements Lab ActiveX Unsafe Method

Seebug

bulletinFamilyexploit
descriptionBUGTRAQ ID: 31752 CVE(CAN) ID: CVE-2008-4385 Instant Expert Analysis允许站点通过单击方式快速分析用户的软硬件。 Instant Expert Analysis对Firefox或Netscape浏览器使用签名的Java Applet(SRLApplet.class,由sysreqlab2.jar或sysreqlab.jar提供),对Internet Explorer使用签名的ActiveX控件(sysreqlab.dll、sysreqlabsli.dll或sysreqlab2.dll)。 可能会以类似于以下的方式调用sysreqlab2.jar或sysreqlab2.cab的init方式: document.SysReqLab.Init(&quot;http://www.example.com&quot;, &quot;abc&quot;); 之后applet从http://www.systemrequirementslab.com 下载一个dll文件并执行。这个dll文件会从init方式开始的位置(如攻击者的站点)加载setup_abc.exe、setup_mz_abc.exe或setup_ie_abc.exe并执行这些可执行文件。 Husdawg, LLC Instant Expert Analysis 临时解决方法: * 在Internet Explorer中禁用Instant Expert Analysis ActiveX控件,为以下CLSID设置kill bit: {67A5F8DC-1A4B-4D66-9F24-A704AD929EEE} {BE833F39-1E0C-468C-BA70-25AAEE55775E} {BE833F39-1E0C-468C-BA70-25AAEE55775F} 或者将以下文本保存为.REG文件并导入: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{67A5F8DC-1A4B-4D66-9F24-A704AD929EEE}] &quot;Compatibility Flags&quot;=dword:00000400 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{BE833F39-1E0C-468C-BA70-25AAEE55775E}] &quot;Compatibility Flags&quot;=dword:00000400 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{BE833F39-1E0C-468C-BA70-25AAEE55775F}] &quot;Compatibility Flags&quot;=dword:00000400 厂商补丁: Husdawg, LLC ------------ 目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载: <a href=http://www.systemrequirementslab.com/ target=_blank>http://www.systemrequirementslab.com/</a>
idSSV:4260
last seen2017-11-19
modified2008-10-20
published2008-10-20
reporterRoot
titleInstant Expert Analysis ActiveX控件任意代码下载和执行漏洞