CVE-2023-2546 WP User Switch <= 1.0.2 - Authenticated (Subscriber+) Authentication Bypass via Cookie
Authenticated subscribers can bypass authentication via cookie manipulation to log in as any user, including administrators, in the WP User Switch plugin.
- 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-2023-2546?
CVE-2023-2546 is a high-severity authentication bypass vulnerability in iqbalrony WP User Switch, published on 6 Jun 2023. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The WP User Switch plugin for WordPress is vulnerable to authentication bypass in versions up to, and including, 1.0.2. This is due to incorrect authentication checking in the 'wpus_allow_user_to_admin_bar_menu' function with the 'wpus_who_switch' cookie value. This makes it possible for authenticated attackers, with subscriber-level permissions and above, to log in as any existing user on the site, such as an administrator, if they have access to the username.
Weakness: CWE-288
Which versions are affected by CVE-2023-2546?
It affects 1 product.
Products include Wp User Switch Project Wp User Switch.
How do I fix CVE-2023-2546?
No fix has been published for CVE-2023-2546 yet. Limit exposure of the affected software until one is available.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2023-2546 being exploited?
There is no known exploitation of CVE-2023-2546 in the wild and no public exploit code.
Sources
Also known as GHSA-gr6h-jrp8-gp49.