SQL Injection in Frappe Erpnext
CVE-2018-20061
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.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.014 (72.1th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 72nd percentile — 72.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.014 · newest: 0.014 · change: 0.000
Affected products
- Frappe Erpnext — versions 11.0.3
Weakness classification (CWE)
References
- github.com/frappe/erpnext/issues/15337 (Third Party Advisory)
Frequently asked questions
- What is CVE-2018-20061?
- CVE-2018-20061 is a high-severity vulnerability in Frappe Erpnext, classified under SQL Injection. CVSS score: 7.5/10. Published 2018-12-11.
- How severe is CVE-2018-20061?
- High severity. CVSS v3 base score is 7.5 out of 10.