CVE-2024-6666

Source
https://cve.org/CVERecord?id=CVE-2024-6666
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-6666.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-6666
Published
2024-07-11T06:43:13.765Z
Modified
2026-08-12T03:51:44.936013730Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
WP ERP <= 1.13.0 - Authenticated (Accounting Manager+) SQL Injection via vendor_id
Details

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 (erpacviewsales_summary capability) and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

Database specific
{
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "last_affected": "1.13.0"
                }
            ],
            "source": "AFFECTED_FIELD"
        }
    ],
    "cna_assigner": "Wordfence",
    "cwe_ids": [
        "CWE-89"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/6xxx/CVE-2024-6666.json"
}
References

Affected packages

Git / github.com/wp-erp/wp-erp

Affected ranges

Type
GIT
Repo
https://github.com/wp-erp/wp-erp
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.13.1"
        }
    ],
    "source": "CPE_RANGE",
    "cpe": "cpe:2.3:a:wedevs:wp_erp:*:*:*:*:*:wordpress:*:*"
}

Affected versions

v1.*
v1.11.0
v1.11.1
v1.11.2
v1.11.3
v1.12.0
v1.12.1
v1.12.2
v1.12.3
v1.12.5
v1.12.6
v1.12.7
v1.12.8
v1.12.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-6666.json"