CWE Code: 89
Vulnerability Type: sql_injection
CVSS Score: 5.0
CWE Name:  Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Summary: 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.
Access Authentication: NONE
Access Complexity: LOW
Access Vector: NETWORK
Impact (C/I/A): PARTIAL/NONE/NONE
Published Date: 2018-12-11
Last Modified Date: 2019-01-02