CVE-2021-24221

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.
References
Configurations

Configuration 1 (hide)

cpe:2.3:a:expresstech:quiz_and_survey_master:*:*:*:*:*:wordpress:*:*

History

07 Nov 2023, 03:31

Type Values Removed Values Added
Summary 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. 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.

20 Apr 2021, 01:02

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : 6.5
v3 : 8.8
References (CONFIRM) https://wpscan.com/vulnerability/3b52b25c-82a1-41c7-83ac-92e244f7c5ab - (CONFIRM) https://wpscan.com/vulnerability/3b52b25c-82a1-41c7-83ac-92e244f7c5ab - Exploit, Third Party Advisory
References (MISC) https://plugins.trac.wordpress.org/changeset/2479603/ - (MISC) https://plugins.trac.wordpress.org/changeset/2479603/ - Patch, Third Party Advisory
CPE cpe:2.3:a:expresstech:quiz_and_survey_master:*:*:*:*:*:wordpress:*:*

12 Apr 2021, 14:57

Type Values Removed Values Added
New CVE

Information

Published : 2021-04-12 14:15

Updated : 2023-12-10 13:55


NVD link : CVE-2021-24221

Mitre link : CVE-2021-24221

CVE.ORG link : CVE-2021-24221


JSON object : View

Products Affected

expresstech

  • quiz_and_survey_master
CWE
CWE-89

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')