Vulnerability Description
A SQL injection issue was discovered in ERPNext 10.x and 11.x through 11.0.3-beta.29. This attack is only available to a logged-in user; however, many ERPNext sites allow account creation via the web. No special privileges are needed to conduct the attack. By calling a JavaScript function that calls a server-side Python function with carefully chosen arguments, a SQL attack can be carried out which allows SQL queries to be constructed to return any columns from any tables in the database. This is related to /api/resource/Item?fields= URIs, frappe.get_list, and frappe.call.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Frappe | Erpnext | >= 10.0.0, <= 10.1.76 |
Related Weaknesses (CWE)
References
- https://github.com/frappe/erpnext/issues/15337Third Party Advisory
- https://github.com/frappe/erpnext/issues/15337Third Party Advisory
FAQ
What is CVE-2018-20061?
CVE-2018-20061 is a vulnerability with a CVSS score of 7.5 (HIGH). A SQL injection issue was discovered in ERPNext 10.x and 11.x through 11.0.3-beta.29. This attack is only available to a logged-in user; however, many ERPNext sites allow account creation via the web....
How severe is CVE-2018-20061?
CVE-2018-20061 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2018-20061?
Check the references section above for vendor advisories and patch information. Affected products include: Frappe Erpnext.