CVE-2022-0656

Web To Print Shop : uDraw <= 3.3.3 - Unauthenticated Arbitrary File Access

2022-04-13 00:00
cydave

Strategic Overview

Status
Patched in 3.4.0
Affected Version
<= 3.3.3
CVSS
7.4High
Weakness type
CWE-552 · Files or Directories Accessible to External Parties
CVE
CVE-2022-0656
View all Web To Print Shop : uDraw vulnerabilities

At a glance

CVE-2022-0656 is a high-severity Files or Directories Accessible to External Parties vulnerability in the Web To Print Shop WordPress plugin, affecting versions <= 3.3.3. It carries a CVSS score of 7.4 (reachable over the network; low attack complexity; high confidentiality impact). Exploitation requires no authentication. The issue is fixed in version 3.4.0; sites on affected versions should update now. Disclosed April 2022, reported by cydave.

Vulnerability Overview

The Web To Print Shop : uDraw WordPress plugin up to 3.3.3 does not validate the url parameter in its udraw_convert_url_to_base64 AJAX action (available to both unauthenticated and authenticated users) before using it in the file_get_contents function and returning its content base64 encoded in the response. As a result, unauthenticated users could read arbitrary files on the web server (such as /etc/passwd, wp-config.php etc)

Technical Analysis

The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no privileges on the target site. A successful exploit has high impact on confidentiality.

CWE-552: Files or Directories Accessible to External Parties

The product makes files or directories accessible to unauthorized actors, even though they should not be.

Remediation

Update to version 3.4.0, or a newer patched version

How does WordSec protect against this?

Requests carrying this pattern arrive without a session, so nothing upstream of the firewall gets a chance to reject them: WordSec's web application firewall inspects request payloads before WordPress loads them. None of that substitutes for the fix: Web To Print Shop 3.4.0 closes this, and updating the plugin is the step that ends it.

  • Firewall
  • Login Security
  • Alerts

External References

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C