Lmfdb
Monthly
Unauthenticated server-side template injection in LMFDB's knowledge-rendering endpoint (/knowledge/render/<ID>) lets any remote attacker execute operating-system commands as the account running the web application. The render_knowl function splices request-controlled data - every query-string key and value assembled into kw_params, plus the 'content' parameter - directly into Jinja template source and renders it with the default, unsandboxed jinja2.Environment, so injected Jinja expressions can traverse Python's object model to __builtins__ and invoke modules such as os. The vendor advisory documents a working proof of concept executed end-to-end against the live lmfdb.org site via a single HTTP GET, returning the output of an OS-level id command; active exploitation in the wild is not confirmed, but VulnCheck reporting, the act_now priority decision, and a 9.3 severity score all point to immediate patching.
Unauthenticated server-side template injection in LMFDB's knowledge-rendering endpoint (/knowledge/render/<ID>) lets any remote attacker execute operating-system commands as the account running the web application. The render_knowl function splices request-controlled data - every query-string key and value assembled into kw_params, plus the 'content' parameter - directly into Jinja template source and renders it with the default, unsandboxed jinja2.Environment, so injected Jinja expressions can traverse Python's object model to __builtins__ and invoke modules such as os. The vendor advisory documents a working proof of concept executed end-to-end against the live lmfdb.org site via a single HTTP GET, returning the output of an OS-level id command; active exploitation in the wild is not confirmed, but VulnCheck reporting, the act_now priority decision, and a 9.3 severity score all point to immediate patching.