CVE-2021-25054 WPcalc <= 2.1 - Authenticated SQL Injection
Authenticated attackers can exploit unsanitized input in the WPcalc plugin to execute arbitrary SQL commands, potentially reading or modifying database contents.
- 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-25054?
CVE-2021-25054 is a high-severity SQL injection vulnerability in Unknown WPcalc – create any online calculators, published on 10 Jan 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The WPcalc WordPress plugin through 2.1 does not sanitize user input into the 'did' parameter and uses it in a SQL statement, leading to an authenticated SQL Injection vulnerability.
Weakness: CWE-89
Which versions are affected by CVE-2021-25054?
It affects 1 product.
Products include Wow-Company Wpcalc.
How do I fix CVE-2021-25054?
No fix has been published for CVE-2021-25054 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-25054 being exploited?
There is no known exploitation of CVE-2021-25054 in the wild and no public exploit code.
Sources
Also known as GHSA-jcmq-2f36-4rxx.