CVE-2021-24221
JSON

8.8high

Quiz And Survey Master < 7.1.12 - Authenticated SQL injection via shortcode

Severity
8.8high CVSS:3.1 by NVD
Exploit likelihood
1.89% (higher than 80% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
WPScan

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

Product or packageVersionsReported by
Unknown Quiz And Survey Master – Best Quiz, Exam and Survey Plugin for WordPressfrom 7.1.12 before 7.1.12CVE List
expresstech quiz_and_survey_masterbefore 7.1.12NVD

All scores

NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD6.5medium CVSS:2.0AV:N/AC:L/Au:S/C:P/I:P/A:P

Classification

What each source says

CVE List

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.

NVD (es)

El plugin Quiz And Survey Master – Best Quiz, Exam and Survey Plugin for WordPress versiones anteriores a 7.1.12, no saneaba el parámetro GET result_id en las páginas con el shortcode [qsm_result] sin el atributo id, concatenando en una declaración SQL y conllevando a una inyección SQL.&#xa0;El rol más bajo permitido para usar este shortcode en publicaciones o páginas siendo autor, tal usuario podría conseguir acceso no autorizado al DBMS.&#xa0;Si el código abreviado (sin el atributo id) está insertado en una página o publicación pública, los usuarios no autenticados podrían explotar la inyección

References

Sources

SourceRecordLicence
CVE ListCVE-2021-24221 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-24221 changed 2026-06-17Public domain