CVE-2023-2546

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

highAuthentication Bypass Using an Alternate Path or Channel
8.8
CVSS Score
8.8
CVSS Score
high
Severity
1.0.3
Patched in
233d
Time to patch

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.

CVSS Vector Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
High
Confidentiality
High
Integrity
High
Availability

Technical Details

Affected versions<=1.0.2
PublishedJune 4, 2023
Last updatedJanuary 22, 2024
Affected pluginwp-user-switch

Check if your site is affected.

Run a free security audit to detect vulnerable plugins, outdated versions, and misconfigurations.