PT-2023-14678 · WordPress · Conditional Payment Methods For Woocommerce
Daniel Krohmer
+1
·
Published
2023-01-16
·
Updated
2023-01-24
·
CVE-2022-4547
CVSS v3.1
7.2
High
| Vector | AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
The Conditional Payment Methods for WooCommerce WordPress plugin versions 1.0 and earlier
Description
The issue arises from the plugin's failure to properly sanitise and escape a parameter before using it in a SQL statement, leading to a SQL injection. This SQL injection is exploitable by high privilege users, such as admin, or users with a role as low as admin.
Recommendations
For versions 1.0 and earlier, update to a version that properly sanitizes and escapes parameters used in SQL statements to prevent SQL injection. As a temporary workaround, consider restricting access to the plugin's functionality to minimize the risk of exploitation by high privilege users.
Exploit
Fix
SQL injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Conditional Payment Methods For Woocommerce