CVE-2023-2744 WP ERP < 1.12.4 - Admin+ SQL Injection

High 7.2 Published Updated

High-privilege users can exploit SQL injection in the WP ERP plugin to read or modify database contents via the accounting REST API.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-2744?

CVE-2023-2744 is a high-severity SQL injection vulnerability in Unknown WP ERP | Complete HR solution with recruitment & job listings | WooCommerce CRM & Accounting, published on 27 Jun 2023. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

The ERP WordPress plugin before 1.12.4 does not properly sanitise and escape the `type` parameter in the `erp/v1/accounting/v1/people` REST API endpoint before using it in a SQL statement, leading to a SQL injection exploitable by high privilege users such as admin.

Which versions are affected by CVE-2023-2744?

It affects 1 product.

Products include Wedevs Wp Erp.

How do I fix CVE-2023-2744?

No fix has been published for CVE-2023-2744 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2023-2744 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-2744 exists.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-3hmp-qggx-jm2c.

Is CVE-2023-2744 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free