Vulnerability · Published Apr 12, 2021 · Assigned by WPScan

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

High 8.8

In plain English

A high-severity SQL injection in Quiz And Survey Master – Best Quiz, Exam and Survey Plugin for WordPress from Unknown. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.9% (higher than 80% of all known vulnerabilities).

Severity (CVSS NVD)8.8High
Exploit odds (30 days)1.9%top 20.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 products (as reported)

Weakness: CWE-89

References