Critical SQL Injection in Quiz Maker WordPress Plugin
An unauthenticated time-based SQL injection vulnerability (CVE-2024-6028) exists in Ays-pro Quiz Maker plugin versions 6.5.8.3 and earlier, allowing attackers to exfiltrate database content via crafted POST requests.
CVE search metadata
CVE search record: CVE-2024-6028. Severity: critical. CVSS: 9.8. EPSS: 11.76%. KEV: no. Product: Quiz Maker (<= 6.5.8.3). Brief: Critical SQL Injection in Quiz Maker WordPress Plugin. Brief link: https://feed.craftedsignal.io/briefs/2026-09-cve-2024-6028-quiz-maker-sqli/
CVE-2024-6028 is a high-severity time-based SQL injection vulnerability affecting the Ays-pro Quiz Maker WordPress plugin, versions 6.5.8.3 and lower. The vulnerability resides within the 'ays_questions' parameter processed by the 'ays_finish_quiz' action in the 'Quiz_Maker_Public' class. An unauthenticated attacker can exploit this flaw by sending a specially crafted HTTP POST request to the WordPress 'admin-ajax.php' endpoint. Due to the lack of sufficient input sanitization and parameter escaping, the attacker can inject malicious SQL commands that the application executes against the underlying WordPress database. Successful exploitation allows an attacker to infer sensitive information through time-based inferencing (e.g., using the MySQL SLEEP function). The vulnerability has a CVSS 9.8 rating, and a publicly available proof-of-concept exploit increases the risk of immediate exploitation by malicious actors.
Impact
Successful exploitation of this vulnerability allows unauthenticated attackers to gain unauthorized access to the application database. This can result in the full compromise of sensitive data stored within the WordPress environment, including user accounts, site configurations, and potentially other plugins' data. Given the widespread use of WordPress plugins, this vulnerability presents a significant risk to the confidentiality and integrity of affected sites.
Recommendation
Prioritized, concrete actions for detection engineering teams:
- Update the Ays-pro Quiz Maker plugin to version 6.5.8.4 or later immediately.
- Deploy the provided Sigma rule to monitor for suspicious POST requests targeting 'admin-ajax.php' containing SQL injection syntax in the 'ays_questions' parameter.
- Review web server access logs for anomalous spikes in response times coupled with POST requests to 'admin-ajax.php', which may indicate active time-based SQL injection attempts.
Immediate actions
Patch Quiz Maker plugin to version 6.5.8.4
Enrichment needed
- Identify internally hosted sites running Ays-pro Quiz Maker (SOC) Prioritize patching efforts
Mitigations
Upgrade Ays-pro Quiz Maker to 6.5.8.4
CVE-2024-6028
Gaps
- Asset inventory of plugin usage
Detection coverage 1
Detect CVE-2024-6028 Exploitation - Unauthenticated SQLi in Quiz Maker
highDetects exploitation of CVE-2024-6028 via crafted POST requests to admin-ajax.php containing SQL injection sequences in the ays_questions parameter
Detection queries are available on the platform. Get full rules →