Description
Frappe is a full-stack web application framework. Prior to 16.18.3 and 15.108.0, check_safe_sql_query permitted SELECT INTO OUTFILE queries, which could potentially work on self-hosted sites if database permissions are not well aligned and MySQL FILE privileges are available. This issue is fixed in versions 16.18.3 and 15.108.0.
Problem types
CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Product status
>= 16.0.0-beta.1, < 16.18.3
References
github.com/...frappe/security/advisories/GHSA-wx8j-cw4r-vrhv
github.com/frappe/frappe/pull/39345
github.com/frappe/frappe/pull/39346
github.com/...ommit/628e103f7ffe307447d9fc9e2c572cbddedfa3b5
github.com/...ommit/91d3ded038d1c901b73f4a2293e134d691c1662d
github.com/frappe/frappe/releases/tag/v15.108.0
github.com/frappe/frappe/releases/tag/v16.18.3