CVE-2022-3361 Path traversal in Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin

Medium 4.3 Published Updated

Authenticated attackers can exploit directory traversal in Ultimate Member plugin to read arbitrary files or potentially execute code via file inclusion.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-3361?

CVE-2022-3361 is a medium-severity path traversal vulnerability in ultimatemember Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin, published on 29 Nov 2022. Any signed-in user can exploit it over the network, with no action from the victim.

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

Weakness: CWE-22

Which versions are affected by CVE-2022-3361?

It affects 1 product.

Products include Ultimatemember Ultimate Member.

How do I fix CVE-2022-3361?

No fix has been published for CVE-2022-3361 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2022-3361 being exploited?

There is no known exploitation of CVE-2022-3361 in the wild and no public exploit code.

Sources

Also known as GHSA-q6cc-3x9h-cxmm.

Is CVE-2022-3361 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free