CVE-2021-24195 Login as User or Customer (User Switching) < 1.9 - Arbitrary Plugin Installation/Activation via Low Privilege User

High 8.8 Published Updated

Low-privilege users can install and activate arbitrary plugins via an unprotected AJAX action, potentially leading to remote code execution.

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-2021-24195?

CVE-2021-24195 is a high-severity missing authorization vulnerability in wp-buy Login as User or Customer (User Switching), published on 14 May 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Low privileged users can use the AJAX action 'cp_plugins_do_button_job_later_callback' in the Login as User or Customer (User Switching) WordPress plugin before 1.8, to install any plugin (including a specific version) from the WordPress repository, as well as activate arbitrary plugin from then blog, which helps attackers install vulnerable plugins and could lead to more critical vulnerabilities like RCE.

Weakness: CWE-285

Which versions are affected by CVE-2021-24195?

It affects 1 product.

Products include Wp-Buy Login as User or Customer \(User Switching\).

How do I fix CVE-2021-24195?

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

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2021-24195 being exploited?

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

Sources

Also known as GHSA-xx6m-fqm7-6ghv.

Is CVE-2021-24195 in your software?

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

Check your SBOMs for free