{"id":"CVE-2023-2546","state":"PUBLISHED","title":"WP User Switch <= 1.0.2 - Authenticated (Subscriber+) Authentication Bypass via Cookie","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.","publishedAt":"2023-06-06T01:55:07.908Z","updatedAt":"2026-04-08T17:30:37.994Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Wordfence"},"assigner":"Wordfence","products":["iqbalrony WP User Switch"],"affected":[{"vendor":"iqbalrony","product":"WP User Switch","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.0.2","versionType":"semver"}]}],"references":["https://www.wordfence.com/threat-intel/vulnerabilities/id/e89d912d-fa7a-4fb1-8872-95fa861c21ca?source=cve","https://plugins.trac.wordpress.org/browser/wp-user-switch/trunk/inc/functions.php?rev=2237142#L33","https://plugins.trac.wordpress.org/changeset/2921182/wp-user-switch/trunk/inc/functions.php","https://lana.codes/lanavdb/0cfdc5fa-d219-46bb-b8cc-693ac28a9e92/"],"weaknesses":["CWE-288"],"ingestedAt":"2026-10-29T20:05:52.290Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/2xxx/CVE-2023-2546.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-2546","state":"PUBLISHED","datePublished":"2023-06-06T01:55:07.908Z","dateUpdated":"2026-04-08T17:30:37.994Z","assignerShortName":"Wordfence","assignerOrgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","dateReserved":"2023-05-05T17:11:57.789Z"},"containers":{"cna":{"title":"WP User Switch <= 1.0.2 - Authenticated (Subscriber+) Authentication Bypass via Cookie","descriptions":[{"lang":"en","value":"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":[{"vendor":"iqbalrony","product":"WP User Switch","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.0.2","versionType":"semver"}]}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/e89d912d-fa7a-4fb1-8872-95fa861c21ca?source=cve"},{"url":"https://plugins.trac.wordpress.org/browser/wp-user-switch/trunk/inc/functions.php?rev=2237142#L33"},{"url":"https://plugins.trac.wordpress.org/changeset/2921182/wp-user-switch/trunk/inc/functions.php"},{"url":"https://lana.codes/lanavdb/0cfdc5fa-d219-46bb-b8cc-693ac28a9e92/"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-288","lang":"en","description":"CWE-288 Authentication Bypass Using an Alternate Path or Channel","type":"CWE"}]}],"providerMetadata":{"shortName":"Wordfence","orgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","dateUpdated":"2026-04-08T17:30:37.994Z"},"credits":[{"lang":"en","type":"finder","value":"István Márton"}],"timeline":[{"time":"2023-05-03T00:00:00.000Z","lang":"en","value":"Discovered"},{"time":"2023-05-08T00:00:00.000Z","lang":"en","value":"Vendor Notified"},{"time":"2023-06-04T00:00:00.000Z","lang":"en","value":"Disclosed"}]},"adp":[{"title":"CVE Program Container","references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/e89d912d-fa7a-4fb1-8872-95fa861c21ca?source=cve","tags":["x_transferred"]},{"url":"https://plugins.trac.wordpress.org/browser/wp-user-switch/trunk/inc/functions.php?rev=2237142#L33","tags":["x_transferred"]},{"url":"https://plugins.trac.wordpress.org/changeset/2921182/wp-user-switch/trunk/inc/functions.php","tags":["x_transferred"]},{"url":"https://lana.codes/lanavdb/0cfdc5fa-d219-46bb-b8cc-693ac28a9e92/","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T06:26:09.731Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-12-23T16:01:43.157932Z","id":"CVE-2023-2546","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-12-23T16:22:57.691Z"}}]}}}