.. / CVE-2022-1020

Exploit for WordPress WooCommerce <3.1.2 - Arbitrary Function Call (CVE-2022-1020)

Description:

WordPress WooCommerce plugin before 3.1.2 does not have authorisation and CSRF checks in the wpt_admin_update_notice_option AJAX action (available to both unauthenticated and authenticated users), as well as does not validate the callback parameter, allowing unauthenticated attackers to call arbitrary functions with either none or one user controlled argument.

Nuclei Template

View the template here CVE-2022-1020.yaml

Validate with Nuclei

echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2022/CVE-2022-1020.yaml
Copy

References:

https://wpscan.com/vulnerability/04fe89b3-8ad1-482f-a96d-759d1d3a0dd5
https://nvd.nist.gov/vuln/detail/CVE-2022-1020