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

2023-06-04 00:00
István Márton

Strategic Overview

Status
Patched in 1.0.3
Affected PluginWP User Switch
Affected Version<= 1.0.2
CVSS8.8High
CVECVE-2023-2546
View all WP User Switch vulnerabilities

Vulnerability Overview

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.

Technical Analysis

REMEDIATION: Update to version 1.0.3, or a newer patched version --- IDENTIFIER: CWE-288 (Authentication Bypass Using an Alternate Path or Channel) The product requires authentication, but the product has an alternate path or channel that does not require authentication.

External References

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C