CVE-2022-4547 Conditional Payment Methods for WooCommerce <= 1.0 - Admin+ SQLi
High-privilege users can exploit SQL injection in the Conditional Payment Methods for WooCommerce plugin to read or modify database contents.
- 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-2022-4547?
CVE-2022-4547 is a high-severity SQL injection vulnerability in Unknown Conditional Payment Methods for WooCommerce, published on 16 Jan 2023. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
The Conditional Payment Methods for WooCommerce WordPress plugin through 1.0 does not properly sanitise and escape a parameter before using it in a SQL statement, leading to a SQL injection exploitable by [high privilege users such as admin|users with a role as low as admin.
Weakness: CWE-89
Which versions are affected by CVE-2022-4547?
It affects 1 product.
Products include Thedotstore Conditional Payment Methods for Woocommerce.
How do I fix CVE-2022-4547?
No fix has been published for CVE-2022-4547 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-2022-4547 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-4547 exists.
Sources
Also known as GHSA-fxp5-2pjw-x9j4.