CVE-2022-3361
Published: 29 November 2022
Summary
CVE-2022-3361 is a medium-severity Path Traversal (CWE-22) vulnerability in Ultimatemember Ultimate Member. Its CVSS base score is 4.3 (Medium).
Operationally, ranked in the top 7.5% 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 Ultimate Member plugin for WordPress is affected by a directory traversal vulnerability (CWE-22) in versions up to and including 2.5.0. The flaw stems from insufficient input validation on the "template" attribute supplied to shortcodes, allowing paths containing traversal sequences such as ../../ to reference files outside the intended directory.
An attacker with administrative privileges can exploit the issue to read arbitrary files on the server. When combined with the ability to upload a PHP file, the same vector can lead to remote code execution through malicious file inclusion. Users holding lower privileges require explicit /wp-admin access to be granted before the vulnerability becomes exploitable by them. The reported CVSS 3.1 score is 4.3.
Public references include a WordPress plugin changeset that addresses the input-handling weakness and multiple advisories from Wordfence that document the affected shortcode logic. The EPSS score has remained flat at 0.0835 with no material increase since disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2022-42744
Vulnerability details
The Ultimate Member plugin for WordPress is vulnerable to directory traversal in versions up to, and including 2.5.0 due to insufficient input validation on the 'template' attribute used in shortcodes. This makes it possible for attackers with administrative privileges to…
more
supply arbitrary paths using traversal (../../) to access and include files outside of the intended directory. If an attacker can successfully upload a php file then remote code execution via inclusion may also be possible. Note: for users with less than administrative capabilities, /wp-admin access needs to be enabled for that user in order for this to be exploitable by those users.
- 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.
Validates pathnames and filenames to prevent traversal outside intended directories.