ERPNext
ERPNext: SQL Injection in "Inactive Customers" report via unvalidated `doctype` filter
ERPNext is a free and open source Enterprise Resource Planning tool. Prior to 15.116.0 and 16.23.0, erpnext/selling/report/inactive_customers/inactive_customers.py accepts an unvalidated doctype filter and interpolates it into raw SQL in get_sales_details and get_last_sales_amt, allowing an authenticated user to extract sensitive information and manipulate database queries. This issue is fixed in versions 15.116.0 and 16.23.0.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.6high · scored by CNA · CWE-89
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
frappe erpnext
- < 15.116.0
- >= 16.0.0, < 16.23.0
Fixed in 15.116.0, 16.23.0
Mitigation
Upgrade erpnext to 15.116.0 or 16.23.0 or later.
References
- Vendor advisory github.com/frappe/erpnext/security/advisories/…
- Patch github.com/frappe/erpnext/pull/55721
- Patch github.com/frappe/erpnext/commit/29dd6e6681d20…
3 more
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.