CVE-2023-2546
Wp User Switch Project Wp User Switch vulnerability
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.
Affected products
Wp User Switch. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Wp User Switch Project Wp User Switch runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- plugins.trac.wordpress.org/changeset/2921182/wp-user-switch/trunk/inc/functions.php · Patch
- www.wordfence.com/threat-intel/vulnerabilities/id/e89d912d-fa7a-4fb1-8872-95fa861c21ca?sou · Patch
- lana.codes/lanavdb/0cfdc5fa-d219-46bb-b8cc-693ac28a9e92/
- plugins.trac.wordpress.org/browser/wp-user-switch/trunk/inc/functions.php?rev=2237142#L33
- nvd.nist.gov/vuln/detail/CVE-2023-2546
- cve.org/CVERecord?id=CVE-2023-2546
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.