Frappe: check_safe_sql_query Permits SELECT INTO OUTFILE
8Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 2.3epss 0.4%
exploitation probability
0.4%top 67% of all CVEs
observed exploitation
nono source reports it
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.
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Affected products
frappe · frappeReferences
https://github.com/frappe/frappe/commit/628e103f7ffe307447d9fc9e2c572cbddedfa3b5https://github.com/frappe/frappe/commit/91d3ded038d1c901b73f4a2293e134d691c1662dhttps://github.com/frappe/frappe/pull/39345https://github.com/frappe/frappe/pull/39346https://github.com/frappe/frappe/releases/tag/v15.108.0https://github.com/frappe/frappe/releases/tag/v16.18.3https://github.com/frappe/frappe/security/advisories/GHSA-wx8j-cw4r-vrhv