CVE-2018-20061

    Dashboard / Vulnerabilities / CVE-2018-20061

    CVE-2018-20061

    Published: 11 Dec 2018Last Modified: 7 Aug 2026

    Summary:

    Details: 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.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Introduced- 7e1dc0d724bd03fc7fd46b1d479ef0f31cccf7e5
    Fixed -None

    Affected versions

    v10.1.76
    v10.1.65
    v10.1.75
    v10.1.74
    v10.1.73
    v10.1.72
    v10.1.71
    v10.1.70
    v10.1.69
    v10.1.68
    v10.1.67
    v10.1.66
    v10.1.64
    v10.1.63
    v10.1.62
    v10.1.61
    v10.1.60
    v10.1.59
    v10.1.58
    v10.1.57
    v10.1.56
    v10.1.55
    v10.1.54
    v10.1.53
    v10.1.52
    v10.1.51
    v10.1.50
    v10.1.49
    v10.1.48
    v10.1.47
    v10.1.46
    v10.1.45
    v10.1.44
    v10.1.43
    v10.1.42
    v10.1.41
    v10.1.40
    v10.1.39
    v10.1.38
    v10.1.37
    v10.1.36
    v10.1.35
    v10.1.34
    v10.1.31
    v10.1.33
    v10.1.32
    v10.1.30
    v10.1.29
    v10.1.28
    v10.1.27
    v10.1.25
    v10.1.26
    v10.1.24
    v10.1.23
    v10.1.22
    v10.1.21
    v10.1.20
    v10.1.19
    v10.1.18
    v10.1.17
    v10.1.16
    v10.1.15
    v10.1.14
    v10.1.13
    v10.1.12
    v10.1.11
    v10.1.10
    v10.1.9
    v10.1.8
    v10.1.7
    v10.1.6
    v10.1.5
    v10.1.4
    v10.1.3
    v10.1.2
    v10.1.1
    v10.1.0

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High