CVE-2022-0656
Published: 25 April 2022
Summary
CVE-2022-0656 is a high-severity Files or Directories Accessible to External Parties (CWE-552) vulnerability in Webtoprint Web To Print Shop\. Its CVSS base score is 7.5 (High).
Operationally, ranked in the top 1.4% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
The vulnerability is an arbitrary file read issue in the Web To Print Shop uDraw WordPress plugin before version 3.3.3. The udraw_convert_url_to_base64 AJAX action, reachable by both unauthenticated and authenticated users, fails to validate the url parameter before passing it to file_get_contents and returning the result base64-encoded. This is tracked as CWE-552 with a CVSS 3.1 score of 7.5.
Unauthenticated remote attackers can invoke the AJAX endpoint with an arbitrary file path to retrieve sensitive server content such as wp-config.php or /etc/passwd, achieving high-impact confidentiality exposure without authentication or user interaction.
References published on WPScan document the flaw and affected versions, indicating that the issue is resolved by updating to plugin version 3.3.3 or later.
EPSS reached a peak of 0.6816 with no material rise from a lower baseline after disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2022-15749
Vulnerability details
The Web To Print Shop : uDraw WordPress plugin before 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…
more
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)
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Controls on authorized publication limit files and directories with nonpublic data from becoming accessible to external parties.
Controlling and documenting P2P file sharing prevents files and directories from being made accessible to external parties for unauthorized distribution.
Identifying and documenting file and directory locations allows restriction of access to external parties.
Protecting backup files ensures they are not accessible to external parties or unauthorized spheres.
Sanitizing equipment before off-site maintenance reduces the risk of files or directories containing sensitive data becoming accessible to external parties.
Policy restricts media access to authorized parties only, preventing exposure of resources to external or unauthorized actors.
Media access restrictions prevent files or directories from being accessible to external parties.
Employing and evaluating controls at documented alternate sites makes files and directories less likely to be accessible to external parties through physical or environmental weaknesses.