CVE-2021-24221
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.
Affected WordPress components
-
Quiz and Survey Master (QSM) – Quiz Maker & Survey Maker Plugin · quiz-master-nextFrom 7.1.12 (including) to 7.1.12 (excluding)View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- Unknown Quiz And Survey Master – Best Quiz, Exam and Survey Plugin for WordPress — From 7.1.12 (including) to 7.1.12 (excluding)
- expresstech quiz_and_survey_master — Before 7.1.12
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/2479603/ Patch, Third Party Advisory
- wpscan.com https://wpscan.com/vulnerability/3b52b25c-82a1-41c7-83ac-92e244f7c5ab Exploit, Third Party Advisory
- nvd.nist.gov Official NVD record