CVE-2024-6666: WP ERP <= 1.13.0 - Authenticated (Accounting Manager+) SQL Injection via vendor_id
The WP ERP plugin for WordPress is vulnerable to SQL Injection via the ‘vendorid’ and 'status' parameter in all versions up to, and including, 1.13.0 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with Accounting Manager access (erpacviewsalessummary capability) and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2024-6666?
CVE-2024-6666 is classified as a high severity SQL Injection vulnerability.
How does CVE-2024-6666 exploit SQL Injection?
CVE-2024-6666 exploits SQL Injection via the ‘vendor_id’ parameter due to insufficient escaping and preparation of user-supplied input.
Which versions of WP ERP are affected by CVE-2024-6666?
CVE-2024-6666 affects all versions of WP ERP up to and including 1.13.0.
How do I fix CVE-2024-6666?
To fix CVE-2024-6666, upgrade to WP ERP version 1.13.1 or later.
Are there any workarounds for CVE-2024-6666?
There are no known effective workarounds for CVE-2024-6666, so updating is recommended.