CVE-2018-20061

Summary

CVECVE-2018-20061
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2018-12-11 17:29:00 UTC
Updated2019-01-02 14:50:00 UTC
DescriptionA 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.

Risk And Classification

Problem Types: CWE-89

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Frappe Erpnext All All All All
Application Frappe Erpnext 11.0.3 beta10 All All
Application Frappe Erpnext 11.0.3 beta11 All All
Application Frappe Erpnext 11.0.3 beta12 All All
Application Frappe Erpnext 11.0.3 beta13 All All
Application Frappe Erpnext 11.0.3 beta14 All All
Application Frappe Erpnext 11.0.3 beta15 All All
Application Frappe Erpnext 11.0.3 beta16 All All
Application Frappe Erpnext 11.0.3 beta17 All All
Application Frappe Erpnext 11.0.3 beta18 All All
Application Frappe Erpnext 11.0.3 beta19 All All
Application Frappe Erpnext 11.0.3 beta2 All All
Application Frappe Erpnext 11.0.3 beta20 All All
Application Frappe Erpnext 11.0.3 beta21 All All
Application Frappe Erpnext 11.0.3 beta22 All All
Application Frappe Erpnext 11.0.3 beta23 All All
Application Frappe Erpnext 11.0.3 beta24 All All
Application Frappe Erpnext 11.0.3 beta25 All All
Application Frappe Erpnext 11.0.3 beta26 All All
Application Frappe Erpnext 11.0.3 beta27 All All
Application Frappe Erpnext 11.0.3 beta28 All All
Application Frappe Erpnext 11.0.3 beta29 All All
Application Frappe Erpnext 11.0.3 beta3 All All
Application Frappe Erpnext 11.0.3 beta4 All All
Application Frappe Erpnext 11.0.3 beta5 All All
Application Frappe Erpnext 11.0.3 beta6 All All
Application Frappe Erpnext 11.0.3 beta7 All All
Application Frappe Erpnext 11.0.3 beta8 All All
Application Frappe Erpnext 11.0.3 beta9 All All
Application Frappe Erpnext All All All All
Application Frappe Erpnext 11.0.3 beta10 All All
Application Frappe Erpnext 11.0.3 beta11 All All
Application Frappe Erpnext 11.0.3 beta12 All All
Application Frappe Erpnext 11.0.3 beta13 All All
Application Frappe Erpnext 11.0.3 beta14 All All
Application Frappe Erpnext 11.0.3 beta15 All All
Application Frappe Erpnext 11.0.3 beta16 All All
Application Frappe Erpnext 11.0.3 beta17 All All
Application Frappe Erpnext 11.0.3 beta18 All All
Application Frappe Erpnext 11.0.3 beta19 All All
Application Frappe Erpnext 11.0.3 beta2 All All
Application Frappe Erpnext 11.0.3 beta20 All All
Application Frappe Erpnext 11.0.3 beta21 All All
Application Frappe Erpnext 11.0.3 beta22 All All
Application Frappe Erpnext 11.0.3 beta23 All All
Application Frappe Erpnext 11.0.3 beta24 All All
Application Frappe Erpnext 11.0.3 beta25 All All
Application Frappe Erpnext 11.0.3 beta26 All All
Application Frappe Erpnext 11.0.3 beta27 All All
Application Frappe Erpnext 11.0.3 beta28 All All
Application Frappe Erpnext 11.0.3 beta29 All All
Application Frappe Erpnext 11.0.3 beta3 All All
Application Frappe Erpnext 11.0.3 beta4 All All
Application Frappe Erpnext 11.0.3 beta5 All All
Application Frappe Erpnext 11.0.3 beta6 All All
Application Frappe Erpnext 11.0.3 beta7 All All
Application Frappe Erpnext 11.0.3 beta8 All All
Application Frappe Erpnext 11.0.3 beta9 All All
Application Frappe Erpnext All All All All

References

ReferenceSourceLinkTags
SQL Injection from API? · Issue #15337 · frappe/erpnext · GitHub MISC github.com Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report