CVE-2021-24520 Stock in & out <= 1.0.4 - Authenticated SQL Injection
Authenticated users with contributor role or higher can execute SQL injection attacks in the Stock in & out WordPress plugin.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-24520?
CVE-2021-24520 is a high-severity SQL injection vulnerability in Unknown Stock in & out, published on 9 Aug 2021. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The Stock in & out WordPress plugin through 1.0.4 lacks proper sanitization before passing variables to an SQL request, making it vulnerable to SQL Injection attacks. Users with a role of contributor or higher can exploit this vulnerability.
Weakness: CWE-89
Which versions are affected by CVE-2021-24520?
It affects 1 product.
Products include Coderstimes Out of Stock Message for Woocommerce.
How do I fix CVE-2021-24520?
No fix has been published for CVE-2021-24520 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-24520 being exploited?
There is no known exploitation of CVE-2021-24520 in the wild and no public exploit code.
Sources
Also known as GHSA-j9mx-2988-q3xf.