Description
Frappe Framework development builds contain an authorization flaw in the render_jinja_template endpoint that allows low-privileged users to render arbitrary Jinja templates by supplying raw template strings. Attackers with print permission on any document can execute arbitrary SELECT statements against unrelated tables, including reading password hashes from the __Auth table.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
frappe frappe
Default version status: unaffected
0a80046da32bb8976cd7854f551c179a4a06b1b3 to < 37d2eb59790633da01c741b950cc00ca3558c494affected
pkg:github/frappe/frappeReferences
- https://github.com/frappe/frappe/pull/40710 ↗
- https://github.com/frappe/frappe/commit/37d2eb59790633da01c741b950cc00ca3558c494 ↗
- https://github.com/frappe/frappe/blob/0a80046da32bb8976cd7854f551c179a4a06b1b3/frappe/utils/print_format_generator.py ↗
- https://github.com/frappe/frappe ↗
- https://www.vulncheck.com/advisories/frappe-framework-development-branch-incorrect-authorization-via-jinja-template-preview-endpoint ↗