LMFDB code execution in knowledge rendering
LMFDB
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| LMFDB LMFDB |
| No fix yet |
Original description
LMFDB before commit 01829bd contains a server-side template injection vulnerability in the render_knowl function that allows unauthenticated attackers to inject Jinja expressions via request parameters. Attackers can supply crafted query-string values or 'content' data to /knowledge/render/<ID> to reach Python builtins and execute operating system commands as the web application account.
From the CVE record · VulnCheck