CVE-2023-2546

WP User Switch <= 1.0.2 - Authenticated (Subscriber+) Authentication Bypass via Cookie

State
Published
Severity
8.8 High
Published
Jun 6, 2023
Updated
Apr 8, 2026
Reserved
May 5, 2023

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWordfence

Weaknesses

  • CWE-288 Authentication Bypass Using an Alternate Path or Channel

Affected Products

ProductVersions
WP User Switchiqbalrony
  • 1.0.2 and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.