Lucene search

K
wpvulndbWpvulndbWPVDB-ID:2EF5169D-D7AD-4269-8232-C38B39BB13D2
HistoryJun 04, 2023 - 12:00 a.m.

WP User Switch < 1.0.3 - Subscriber+ Authentication Bypass

2023-06-0400:00:00
wpscan.com
8
wp user switch
subscriber
authentication .

0.001 Low

EPSS

Percentile

47.0%

The plugin does not properly verify the ‘wpus_who_switch’ cookie value, which allows attackers with low-privilege accounts like Subscribers to bypass authentication and login as any other existing user.

PoC

Log-in as a subscriber onto the affected site. Run the following JS script in your browser’s console: document.cookie = 'wpus_who_switch=simpleadmin' Refresh the page, and notice you can now switch to any other user’s account via the newly added “User Switch” toggle on the top WordPress Admin bar.

CPENameOperatorVersion
wp-user-switchlt1.0.3

0.001 Low

EPSS

Percentile

47.0%

Related for WPVDB-ID:2EF5169D-D7AD-4269-8232-C38B39BB13D2