7.5

CVE-2018-20061: frappe erpnext SQL Injection

CVSS: 7.5v3.0HighModified
Published 11-12-2018Last modified 05-08-2024

Vulnerability summary

CVE-2018-20061 is a high (CVSS 7.5) SQL Injection vulnerability in frappe erpnext. EPSS estimates a 1.43% chance of exploitation in the next 30 days, higher than 72.7% of scored vulnerabilities.

Overall risk
30/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.0 (NVD)
EPSS score
1.43%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 11-12-2018
    PublishedVulnerability first disclosed.
  2. 05-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

2 scores · 1 source · 2 versions

EPSS trend

Probability

1.43%

Chance of exploitation in the next 30 days

Percentile

73%

Versus all other CVEs

30-day change

0.00 pp

From 1.43% on 20-09-2026

20-09-202620-10-2026
EPSS score
1.43%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Frappe1 product
  • erpnext≥ 10.0.0, ≤ 10.1.76 | ≥ 11.0.0, < 11.0.3 | 11.0.3:beta10 | 11.0.3:beta11 | 11.0.3:beta12 | 11.0.3:beta13 | 11.0.3:beta14 | 11.0.3:beta15 | 11.0.3:beta16 | 11.0.3:beta17 | 11.0.3:beta18 | 11.0.3:beta19 | 11.0.3:beta2 | 11.0.3:beta20 | 11.0.3:beta21 | 11.0.3:beta22 | 11.0.3:beta23 | 11.0.3:beta24 | 11.0.3:beta25 | 11.0.3:beta26 | 11.0.3:beta27 | 11.0.3:beta28 | 11.0.3:beta29 | 11.0.3:beta3 | 11.0.3:beta4 | 11.0.3:beta5 | 11.0.3:beta6 | 11.0.3:beta7 | 11.0.3:beta8 | 11.0.3:beta9

1 vendor · 1 product

References

1 links