CVE-2018-20061: SQL Injection
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.getlist, and frappe.call.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2018-20061?
The severity of CVE-2018-20061 is high.
How does CVE-2018-20061 affect ERPNext?
CVE-2018-20061 affects ERPNext versions 10.x and 11.x through 11.0.3-beta.29.
Who is affected by CVE-2018-20061?
All users of ERPNext versions 10.x and 11.x through 11.0.3-beta.29 are affected by CVE-2018-20061.
What is the Common Weakness Enumeration (CWE) ID for CVE-2018-20061?
The CWE ID for CVE-2018-20061 is 89.
Is there a fix available for CVE-2018-20061?
Yes, a fix is available for CVE-2018-20061. It is recommended to update to a version of ERPNext that is not affected by the vulnerability.