Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| frappe / frappe | affected 0a80046da32bb8976cd7854f551c179a4a06b1b3 before 37d2eb59790633da01c741b950cc00ca3558c494 |
CWE
CWE-863
References
- 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
ADP enrichment
No English description supplied.
No references supplied.