SecurityContext

CVE-2024-0956: WP ERP - SQL Injection

  • Cve: CVE-2024-0956
  • Name: WP ERP - SQL Injection
  • 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 id parameter via the erp/v1/accounting/v1/vendors/1/products/ REST route 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 admin or accounting manager privileges, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
  • Impact: Attackers can extract sensitive database information by executing arbitrary SQL queries, leading to data breach.
  • Remediation: Update to the latest version of WP ERP, above 1.12.9, to fix the vulnerability.
  • Vulnerability type: sql_injection
  • Vulnerability impact: information_disclosure
  • Requirement type: logged_in
  • Requirements: Attacker needs to be authenticated with admin or accounting manager privileges
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 4.9
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.00542
  • Epss percentile: 0.46197
  • Assignee: [email protected]
  • Published at: 2024-03-29T07:15:42Z
  • Age in days: 970
  • Modified at: 2026-06-17T06:54:38Z
  • References total: 3
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-0956
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-89Improper Neutralization of Special Elements used in an SQL Command

References

Same in every row:

  • Source: nvd
UrlTags
https://www.wordfence.com/threat-intel/vulnerabilities/id/d4e04650-624a-4440-b166-8de0f24bb1dd?source=cveThird Party Advisory
https://plugins.trac.wordpress.org/browser/erp/trunk/modules/accounting/includes/functions/products.php#L387Product
https://plugins.trac.wordpress.org/changeset/3064874

Products

ProductAffectedPlatform boundSourcesUrl
wedevs:wp_erp<= 1.12.9nonvd/v1/products/wedevs/wp_erp

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts