CVE-2024-6666

The WP ERP plugin for WordPress is vulnerable to SQL Injection via the ‘vendor_id’ 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 (erp_ac_view_sales_summary capability) and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
Configurations

Configuration 1 (hide)

cpe:2.3:a:wedevs:wp_erp:*:*:*:*:*:wordpress:*:*

History

12 Jul 2024, 16:46

Type Values Removed Values Added
First Time Wedevs wp Erp
Wedevs
CWE CWE-89
CPE cpe:2.3:a:wedevs:wp_erp:*:*:*:*:*:wordpress:*:*
References () https://plugins.trac.wordpress.org/changeset/3064874/erp/tags/1.13.1/modules/accounting/includes/functions/transactions.php - () https://plugins.trac.wordpress.org/changeset/3064874/erp/tags/1.13.1/modules/accounting/includes/functions/transactions.php - Patch
References () https://www.wordfence.com/threat-intel/vulnerabilities/id/e23335c9-0830-4c6b-8e0d-6897a7176ba5?source=cve - () https://www.wordfence.com/threat-intel/vulnerabilities/id/e23335c9-0830-4c6b-8e0d-6897a7176ba5?source=cve - Third Party Advisory

11 Jul 2024, 13:05

Type Values Removed Values Added
Summary
  • (es) El complemento WP ERP para WordPress es vulnerable a la inyección SQL a través del parámetro 'vendor_id' en todas las versiones hasta la 1.13.0 incluida debido a un escape insuficiente en el parámetro proporcionado por el usuario y a la falta de preparación suficiente en la consulta SQL existente. Esto hace posible que atacantes autenticados, con acceso de Accounting Manager (capacidad erp_ac_view_sales_summary) y superior, agreguen consultas SQL adicionales a consultas ya existentes que pueden usarse para extraer información confidencial de la base de datos.

11 Jul 2024, 07:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-07-11 07:15

Updated : 2024-07-12 16:46


NVD link : CVE-2024-6666

Mitre link : CVE-2024-6666

CVE.ORG link : CVE-2024-6666


JSON object : View

Products Affected

wedevs

  • wp_erp
CWE
CWE-89

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')