SQL Injection in Expresstech Quiz And Survey Master
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.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.019, 79.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Expresstech Quiz And Survey Master
- Quiz And Survey Master – Best Quiz, Exam Plugin For WordPress — versions 7.1.12
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (20142995/nuclei-templates). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- wpscan.com/vulnerability/3b52b25c-82a1-41c7-83ac-92e244f7c5ab (Exploit, Third Party Advisory)
- plugins.trac.wordpress.org/changeset/2479603/ (Patch, Third Party Advisory)