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).
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)
| Vendor | Product | Versions |
|---|---|---|
| Unknown | Quiz And Survey Master – Best Quiz, Exam and Survey Plugin for WordPress | 7.1.12 – before 7.1.12 |
Weakness: CWE-89
References
- https://wpscan.com/vulnerability/3b52b25c-82a1-41c7-83ac-92e244f7c5ab x_refsource_CONFIRM
- https://plugins.trac.wordpress.org/changeset/2479603/ x_refsource_MISC