CVE-2020-24913 qcubed SQL injection vulnerability in profile.php via the strQuery parameter
An unauthenticated attacker can inject SQL code via the strQuery parameter in profile.php to access the database.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-24913?
CVE-2020-24913 is a critical SQL injection vulnerability in n/a, published on 4 Mar 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A SQL injection vulnerability in qcubed (all versions including 3.1.1) in profile.php via the strQuery parameter allows an unauthenticated attacker to access the database by injecting SQL code via a crafted POST request.
Weakness: CWE-89
Which versions are affected by CVE-2020-24913?
2 open source packages ship an affected version, including qcubed/qcubed. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
qcubed/qcubed Packagist | All versions | 3.2 |
qcubed/qcubed Packagist | All versions | 3.2 |
Products include Qcubed Qcubed.
How do I fix CVE-2020-24913?
Upgrade qcubed/qcubed to 3.2 or later.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2020-24913 being exploited?
There is no known exploitation of CVE-2020-24913 in the wild and no public exploit code.
Public exploit code: 2 proofs of concept on GitHub.
Other vulnerabilities in n/a
Sources
Also known as GHSA-8fj6-pc5r-347q.