CVE-2022-4305 Login as User or Customer < 3.3 - Unauthenticated Privilege Escalation to Admin

Critical 9.8 Published Updated

Unauthenticated attackers can escalate privileges to admin by exploiting missing authorization checks in the Login as User or Customer plugin.

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

What is CVE-2022-4305?

CVE-2022-4305 is a critical missing authorization vulnerability in Unknown Login as User or Customer, published on 23 Jan 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Login as User or Customer WordPress plugin before 3.3 lacks authorization checks to ensure that users are allowed to log in as another one, which could allow unauthenticated attackers to obtain a valid admin session.

Which versions are affected by CVE-2022-4305?

It affects 1 product.

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

How do I fix CVE-2022-4305?

No fix has been published for CVE-2022-4305 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-2022-4305 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-4305 exists.

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-22mr-8pm7-gm4c.

Is CVE-2022-4305 in your software?

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

Check your SBOMs for free