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.
{
"unresolved_ranges": [
{
"extracted_events": [
{
"fixed": "1.12.4"
}
],
"source": "AFFECTED_FIELD"
},
{
"extracted_events": [
{
"fixed": "1.12.4"
}
],
"source": "DESCRIPTION"
}
],
"cna_assigner": "WPScan",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/2xxx/CVE-2023-2744.json"
}{
"cpe": "cpe:2.3:a:wedevs:wp_erp:*:*:*:*:*:wordpress:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "1.12.4"
}
],
"source": "CPE_RANGE"
}