CVE-2024-0913
Description
The WP ERP | Complete HR solution with recruitment & job listings | WooCommerce CRM & Accounting plugin for WordPress is vulnerable to time-based SQL Injection via the erp/v1/accounting/v1/transactions/sales REST API endpoint in all versions up to, and including, 1.13.0 due to insufficient escaping on the user supplied status and customer_id parameters and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with accounting manager or admin privileges and higher to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
Affected WordPress components
-
ERP: Complete HR, Accounting & CRM Suite Built for WooCommerce Plugin · erpUp to and including 1.13.0View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- wedevs ERP: Complete HR, Accounting & CRM Suite with WooCommerce CRM Support — Up to and including 1.13.0
- wedevs wp_erp — Up to and including 1.12.9
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/erp/trunk/modules/accounting/includes/functions/transactions.php#L42 Product
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3064874
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/592440ab-60ac-419f-b615-e5617460aea9?source=cve Third Party Advisory
- nvd.nist.gov Official NVD record