CVE-2018-20061
Severity CVSS v4.0:
Pending analysis
Type:
CWE-89
SQL Injection
Publication date:
11/12/2018
Last modified:
02/01/2019
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.
Impact
Base Score 3.x
7.50
Severity 3.x
HIGH
Base Score 2.0
5.00
Severity 2.0
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:frappe:erpnext:*:*:*:*:*:*:*:* | 10.0.0 (including) | 10.1.76 (including) |
| cpe:2.3:a:frappe:erpnext:*:*:*:*:*:*:*:* | 11.0.0 (including) | 11.0.3 (excluding) |
| cpe:2.3:a:frappe:erpnext:11.0.3:beta10:*:*:*:*:*:* | ||
| cpe:2.3:a:frappe:erpnext:11.0.3:beta11:*:*:*:*:*:* | ||
| cpe:2.3:a:frappe:erpnext:11.0.3:beta12:*:*:*:*:*:* | ||
| cpe:2.3:a:frappe:erpnext:11.0.3:beta13:*:*:*:*:*:* | ||
| cpe:2.3:a:frappe:erpnext:11.0.3:beta14:*:*:*:*:*:* | ||
| cpe:2.3:a:frappe:erpnext:11.0.3:beta15:*:*:*:*:*:* | ||
| cpe:2.3:a:frappe:erpnext:11.0.3:beta16:*:*:*:*:*:* | ||
| cpe:2.3:a:frappe:erpnext:11.0.3:beta17:*:*:*:*:*:* | ||
| cpe:2.3:a:frappe:erpnext:11.0.3:beta18:*:*:*:*:*:* | ||
| cpe:2.3:a:frappe:erpnext:11.0.3:beta19:*:*:*:*:*:* | ||
| cpe:2.3:a:frappe:erpnext:11.0.3:beta2:*:*:*:*:*:* | ||
| cpe:2.3:a:frappe:erpnext:11.0.3:beta20:*:*:*:*:*:* | ||
| cpe:2.3:a:frappe:erpnext:11.0.3:beta21:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



