WP User Switch <= 1.0.2 - Authenticated (Subscriber+) Authentication Bypass via Cookie
Summary
| CVE | CVE-2023-2546 |
|---|---|
| State | PUBLISHED |
| Assigner | Wordfence |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-06-06 02:15:09 UTC |
| Updated | 2026-04-08 19:18:16 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 8.8 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS: 0.023780000 probability, percentile 0.849780000 (date 2026-04-09)
Problem Types: CWE-288 | CWE-288 CWE-288 Authentication Bypass Using an Alternate Path or Channel
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 8.8 | HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | [email protected] | Secondary | 8.8 | HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 8.8 | HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Wp User Switch Project | Wp User Switch | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Iqbalrony | WP User Switch | affected 1.0.2 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| WP User Switch by IqbalRony WordPress plugin Authentication Bypass – Lana Codes | af854a3a-2127-422b-91ae-364da2661108 | lana.codes | |
| 403 Forbidden | af854a3a-2127-422b-91ae-364da2661108 | plugins.trac.wordpress.org | Product |
| 403 Forbidden | af854a3a-2127-422b-91ae-364da2661108 | plugins.trac.wordpress.org | Patch |
| WP User Switch <= 1.0.2 - Authentication Bypass via Cookie | af854a3a-2127-422b-91ae-364da2661108 | www.wordfence.com | Patch, Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: István Márton (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2023-05-03T00:00:00.000Z | Discovered |
| CNA | 2023-05-08T00:00:00.000Z | Vendor Notified |
| CNA | 2023-06-04T00:00:00.000Z | Disclosed |
There are currently no legacy QID mappings associated with this CVE.