ERPNext up to 10.x/11.0.3-beta.28 Item Argument sql injection
CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
7.2 | $0-$5k | 0.00 |
A vulnerability has been found in ERPNext up to 10.x/11.0.3-beta.28 and classified as critical. Affected by this vulnerability is an unknown code block of the file /api/resource/Item?fields. The manipulation as part of a Argument leads to a sql injection vulnerability. The CWE definition for the vulnerability is CWE-89. The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
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.
The bug was discovered 09/06/2018. The weakness was disclosed 12/11/2018 (Website). It is possible to read the advisory at github.com. This vulnerability is known as CVE-2018-20061 since 12/11/2018. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details of the vulnerability are known, but there is no available exploit. The attack technique deployed by this issue is T1505 according to MITRE ATT&CK.
The vulnerability was handled as a non-public zero-day exploit for at least 96 days. During that time the estimated underground price was around $0-$5k.
Upgrading to version 11.0.3-beta.29 eliminates this vulnerability.
Product
Name
Version
- 10.x
- 11.0.3-beta.0
- 11.0.3-beta.1
- 11.0.3-beta.2
- 11.0.3-beta.3
- 11.0.3-beta.4
- 11.0.3-beta.5
- 11.0.3-beta.6
- 11.0.3-beta.7
- 11.0.3-beta.8
- 11.0.3-beta.9
- 11.0.3-beta.10
- 11.0.3-beta.11
- 11.0.3-beta.12
- 11.0.3-beta.13
- 11.0.3-beta.14
- 11.0.3-beta.15
- 11.0.3-beta.16
- 11.0.3-beta.17
- 11.0.3-beta.18
- 11.0.3-beta.19
- 11.0.3-beta.20
- 11.0.3-beta.21
- 11.0.3-beta.22
- 11.0.3-beta.23
- 11.0.3-beta.24
- 11.0.3-beta.25
- 11.0.3-beta.26
- 11.0.3-beta.27
- 11.0.3-beta.28
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.4VulDB Meta Temp Score: 7.2
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.5
NVD Vector: 🔍
CVSSv2
AV | AC | Au | C | I | A |
---|---|---|---|---|---|
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
---|---|---|---|---|---|
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Sql injectionCWE: CWE-89 / CWE-74 / CWE-707
ATT&CK: T1505
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
0-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: ERPNext 11.0.3-beta.29
Timeline
09/06/2018 🔍12/11/2018 🔍
12/11/2018 🔍
12/11/2018 🔍
12/12/2018 🔍
06/18/2023 🔍
Sources
Advisory: 15337Status: Not defined
CVE: CVE-2018-20061 (🔍)
Entry
Created: 12/12/2018 09:25Updated: 06/18/2023 12:53
Changes: 12/12/2018 09:25 (58), 04/20/2020 10:52 (1), 06/18/2023 12:53 (4)
Complete: 🔍
No comments yet. Languages: en.
Please log in to comment.