CVE-2021-24221

Quiz And Survey Master <= 7.1.11 - Authenticated SQL injection via shortcode

highImproper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
8.8
CVSS Score
8.8
CVSS Score
high
Severity
7.1.12
Patched in
1033d
Time to patch

Description

The Quiz And Survey Master – Best Quiz, Exam and Survey Plugin for WordPress plugin before 7.1.12 did not sanitise the result_id GET parameter on pages with the [qsm_result] shortcode without id attribute, concatenating it in a SQL statement and leading to an SQL injection. The lowest role allowed to use this shortcode in post or pages being author, such user could gain unauthorised access to the DBMS. If the shortcode (without the id attribute) is embed on a public page or post, then unauthenticated users could exploit the injection.

CVSS Vector Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
High
Confidentiality
High
Integrity
High
Availability

Technical Details

Affected versions<=7.1.11
PublishedMarch 26, 2021
Last updatedJanuary 22, 2024
Affected pluginquiz-master-next

Check if your site is affected.

Run a free security audit to detect vulnerable plugins, outdated versions, and misconfigurations.