CVE-2022-3361

Ultimate Member – User Profile, User Registration, Login & Membership Plugin <= 2.5.0 - Authenticated (Contributor+) Directory Traversal via Shortcodes

mediumImproper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
4.3
CVSS Score
4.3
CVSS Score
medium
Severity
2.5.1
Patched in
452d
Time to patch

Description

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 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.

CVSS Vector Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Low
Confidentiality
None
Integrity
None
Availability

Technical Details

Affected versions<=2.5.0
PublishedOctober 28, 2022
Last updatedJanuary 22, 2024
Affected pluginultimate-member

Check if your site is affected.

Run a free security audit to detect vulnerable plugins, outdated versions, and misconfigurations.