CVE-2018-20061 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/frappe/erpnext/issues/15337 | CVE | Third Party Advisory |
| https://github.com/frappe/erpnext/issues/15337 | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| frappe erpnext | >= 10.0.0, <= 10.1.76 >= 11.0.0, < 11.0.3 11.0.3 beta10 11.0.3 beta11 11.0.3 beta12 11.0.3 beta13 11.0.3 beta14 11.0.3 beta15 11.0.3 beta16 11.0.3 beta17 11.0.3 beta18 11.0.3 beta19 11.0.3 beta2 11.0.3 beta20 11.0.3 beta21 11.0.3 beta22 11.0.3 beta23 11.0.3 beta24 11.0.3 beta25 11.0.3 beta26 11.0.3 beta27 11.0.3 beta28 11.0.3 beta29 11.0.3 beta3 11.0.3 beta4 11.0.3 beta5 11.0.3 beta6 11.0.3 beta7 11.0.3 beta8 11.0.3 beta9 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Jan 2, 2019 | Initial Analysis | [email protected] |