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

8.8
Authentication Bypass Using an Alternate Path or Channel
CVE CVE-2023-2546
CVSS 8.8 (High)
Publicly Published June 4, 2023
Last Updated January 22, 2024
Researcher István Márton - Wordfence

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.

References

Share

Vulnerability Details for WP User Switch

Software Type Plugin
Software Slug wp-user-switch (view on wordpress.org)
Patched? Yes
Remediation Update to version 1.0.3, or a newer patched version
Affected Version
  • <= 1.0.2
Patched Version
  • 1.0.3

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation