CVE-2021-24497 Giveaway <= 1.2.2 - Authenticated SQL Injection
An authenticated administrative user can execute arbitrary SQL commands via the post_id parameter in the Giveaway WordPress plugin.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-24497?
CVE-2021-24497 is a high-severity SQL injection vulnerability in Unknown Giveaway, published on 23 Aug 2021. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
The Giveaway WordPress plugin through 1.2.2 is vulnerable to an SQL Injection issue which allows an administrative user to execute arbitrary SQL commands via the $post_id on the options.php page.
Weakness: CWE-89
Which versions are affected by CVE-2021-24497?
It affects 1 product.
Products include Satollo Giveaway.
How do I fix CVE-2021-24497?
No fix has been published for CVE-2021-24497 yet. Limit exposure of the affected software until one is available.
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-2021-24497 being exploited?
There is no known exploitation of CVE-2021-24497 in the wild and no public exploit code.
Sources
Also known as GHSA-356m-64j5-84f5.