CVE-2017-17058 Path traversal in n/a

High 7.5 Published Updated

An attacker can potentially read arbitrary files via directory traversal in the WooCommerce plugin, though maintainers dispute exploitability due to security checks.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2017-17058?

CVE-2017-17058 is a high-severity path traversal vulnerability in n/a, published on 29 Nov 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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

Weakness: CWE-22

Which versions are affected by CVE-2017-17058?

It affects 1 product.

Products include Automattic Woocommerce.

How do I fix CVE-2017-17058?

No fix has been published for CVE-2017-17058 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2017-17058 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-17058 exists.

Public exploit code: 1 Exploit-DB entry and 1 proofs of concept on GitHub.

Sources

Also known as GHSA-8fj5-x5p7-cpqv.

Is CVE-2017-17058 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free