PT-2022-21791 · WordPress · Ultimate Member

Ruijie Li

·

Published

2022-11-29

·

Updated

2022-12-01

·

CVE-2022-3361

CVSS v3.1

4.3

Medium

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Name of the Vulnerable Software and Affected Versions The Ultimate Member plugin for WordPress versions up to, and including 2.5.0
Description The issue is related to directory traversal due to insufficient input validation on the template attribute used in shortcodes. This allows attackers with administrative privileges to supply arbitrary paths using traversal (../../) to access and include files outside of the intended directory. If an attacker can successfully upload a php file, remote code execution via inclusion may also be possible. 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.
Recommendations For versions up to, and including 2.5.0, consider disabling the use of the template attribute in shortcodes until a patch is available. Restrict access to /wp-admin for users with less than administrative capabilities to minimize the risk of exploitation. Avoid using the template attribute in shortcodes for users who do not require administrative access. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

RCE

Path traversal

Weakness Enumeration

Related Identifiers

CVE-2022-3361

Affected Products

Ultimate Member