National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2018-20061 Detail

Current 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.

Source:  MITRE
View Analysis Description

Impact

CVSS v3.0 Severity and Metrics:

Base Score: 7.5 HIGH
Vector: AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N (V3 legend)
Impact Score: 3.6
Exploitability Score: 3.9


Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope (S): Unchanged
Confidentiality (C): High
Integrity (I): None
Availability (A): None

CVSS v2.0 Severity and Metrics:

Base Score: 5.0 MEDIUM
Vector: (AV:N/AC:L/Au:N/C:P/I:N/A:N) (V2 legend)
Impact Subscore: 2.9
Exploitability Subscore: 10.0


Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (AU): None
Confidentiality (C): Partial
Integrity (I): None
Availability (A): None
Additional Information:
Allows unauthorized disclosure of information

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
https://github.com/frappe/erpnext/issues/15337 Third Party Advisory

Technical Details

Vulnerability Type (View All)

Known Affected Software Configurations Switch to CPE 2.3

Configuration 1 ( hide )
 cpe:/a:frappe:erpnext
     Show Matching CPE(s)
From (including)
10.0.0
Up to (including)
10.1.76
 cpe:/a:frappe:erpnext
     Show Matching CPE(s)
From (including)
11.0.0
Up to (excluding)
11.0.3
 cpe:/a:frappe:erpnext:11.0.3:beta10
     Show Matching CPE(s)
 cpe:/a:frappe:erpnext:11.0.3:beta11
     Show Matching CPE(s)
 cpe:/a:frappe:erpnext:11.0.3:beta12
     Show Matching CPE(s)
 cpe:/a:frappe:erpnext:11.0.3:beta13
     Show Matching CPE(s)
 cpe:/a:frappe:erpnext:11.0.3:beta14
     Show Matching CPE(s)
 cpe:/a:frappe:erpnext:11.0.3:beta15
     Show Matching CPE(s)
 cpe:/a:frappe:erpnext:11.0.3:beta16
     Show Matching CPE(s)
 cpe:/a:frappe:erpnext:11.0.3:beta17
     Show Matching CPE(s)
 cpe:/a:frappe:erpnext:11.0.3:beta18
     Show Matching CPE(s)
 cpe:/a:frappe:erpnext:11.0.3:beta19
     Show Matching CPE(s)
 cpe:/a:frappe:erpnext:11.0.3:beta2
     Show Matching CPE(s)
 cpe:/a:frappe:erpnext:11.0.3:beta20
     Show Matching CPE(s)
 cpe:/a:frappe:erpnext:11.0.3:beta21
     Show Matching CPE(s)
 cpe:/a:frappe:erpnext:11.0.3:beta22
     Show Matching CPE(s)
 cpe:/a:frappe:erpnext:11.0.3:beta23
     Show Matching CPE(s)
 cpe:/a:frappe:erpnext:11.0.3:beta24
     Show Matching CPE(s)
 cpe:/a:frappe:erpnext:11.0.3:beta25
     Show Matching CPE(s)
 cpe:/a:frappe:erpnext:11.0.3:beta26
     Show Matching CPE(s)
 cpe:/a:frappe:erpnext:11.0.3:beta27
     Show Matching CPE(s)
 cpe:/a:frappe:erpnext:11.0.3:beta28
     Show Matching CPE(s)
 cpe:/a:frappe:erpnext:11.0.3:beta29
     Show Matching CPE(s)
 cpe:/a:frappe:erpnext:11.0.3:beta3
     Show Matching CPE(s)
 cpe:/a:frappe:erpnext:11.0.3:beta4
     Show Matching CPE(s)
 cpe:/a:frappe:erpnext:11.0.3:beta5
     Show Matching CPE(s)
 cpe:/a:frappe:erpnext:11.0.3:beta6
     Show Matching CPE(s)
 cpe:/a:frappe:erpnext:11.0.3:beta7
     Show Matching CPE(s)
 cpe:/a:frappe:erpnext:11.0.3:beta8
     Show Matching CPE(s)
 cpe:/a:frappe:erpnext:11.0.3:beta9
     Show Matching CPE(s)


Change History

1 change record found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2018-20061
NVD Published Date:
12/11/2018
NVD Last Modified:
01/02/2019