CVE-2017-17058

HIGH

WooCommerce < 3.2.6 - Directory Traversal via Email Template URI

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2017-17058. PoCs published by Fu2x2000, fu2x2000.

AI-analyzed exploit summary This exploit demonstrates a directory traversal vulnerability in WooCommerce (CVE-2017-17058) by fetching sensitive files via a crafted URL. The PoC uses PHP's file_get_contents to retrieve the contents of a WooCommerce template file, confirming improper path sanitization.

Description

The WooCommerce plugin through 3.x for WordPress has a Directory Traversal Vulnerability via a /wp-content/plugins/woocommerce/templates/emails/plain/ URI, which accesses a parent directory. NOTE: a software maintainer indicates that Directory Traversal is not possible because all of the template files have "if (!defined('ABSPATH')) {exit;}" code

Exploits (2)

exploitdb WORKING POC
by Fu2x2000 · textwebappsphp
https://www.exploit-db.com/exploits/43196

This exploit demonstrates a directory traversal vulnerability in WooCommerce (CVE-2017-17058) by fetching sensitive files via a crafted URL. The PoC uses PHP's file_get_contents to retrieve the contents of a WooCommerce template file, confirming improper path sanitization.

Classification
Working Poc 90%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: WordPress with WooCommerce 2.0/3.0
No auth needed
Prerequisites: WooCommerce plugin installed · Access to the target WordPress site
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by fu2x2000 · poc
https://github.com/fu2x2000/CVE-2017-17058-woo_exploit

This PoC exploits CVE-2017-17058, a vulnerability in the WooCommerce Product Feed Pro plugin, by sending crafted HTTP requests to manipulate server-side files and potentially achieve remote code execution (RCE). The script interacts with the plugin's log and CSV endpoints to test for vulnerability.

Classification
Working Poc 80%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: WooCommerce Product Feed Pro (version not specified)
No auth needed
Prerequisites: Target must have WooCommerce Product Feed Pro plugin installed and vulnerable · Access to the plugin's log and CSV endpoints
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (3)

Core 3
Core References
Third Party Advisory, VDB Entry x_refsource_misc
https://www.exploit-db.com/ghdb/4613/
Third Party Advisory x_refsource_misc
https://github.com/woocommerce/woocommerce/issues/17964
Third Party Advisory, VDB Entry exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/43196/

Scores

CVSS v3 7.5
EPSS 0.2367
EPSS Percentile 97.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact partial

Details

CWE
CWE-22
Status published
Products (1)
automattic/woocommerce < 3.2.6
Published Nov 29, 2017
Tracked Since Feb 18, 2026