CVE-2021-24138 AdRotate < 5.8.4 - Authenticated SQL Injection
An authenticated admin can exploit unvalidated input in the AdRotate plugin to perform SQL injection, allowing unauthorized database access.
- 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-24138?
CVE-2021-24138 is a medium-severity SQL injection vulnerability in Unknown AdRotate, published on 18 Mar 2021. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
Unvalidated input in the AdRotate WordPress plugin, versions before 5.8.4, leads to Authenticated SQL injection via param "id". This requires an admin privileged user.
Weakness: CWE-89
Which versions are affected by CVE-2021-24138?
It affects 1 product.
Products include Ajdg Adrotate.
How do I fix CVE-2021-24138?
No fix has been published for CVE-2021-24138 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-24138 being exploited?
There is no known exploitation of CVE-2021-24138 in the wild and no public exploit code.
Other vulnerabilities in Unknown AdRotate
Sources
Also known as GHSA-3g55-69j2-vxv7.