GHSA-hj8m-9fhf-v7jpCritical· 10.0▾ Midnightfief-server Server-Side Template Injection vulnerability
▾ Midnight zone — Critical, or high with PoC / in-the-wild
impact 55 · likelihood 0 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via OSV
Last analysed / modified upstream
Server-Side Template Injection (SSTI) is a vulnerability within application templating engines where user input is improperly handled and is embedded into the template, possibly leading code being executed.
An attacker can use SSTI to execute code on the underlying system by manipulating values within the embedded template. When code is executed within the underlying system, it can allow an attacker to run permissioned commands under the exploited process, or exploit Cross-Site Scripting (XSS) to run code within the user's browser.
SSTI can lead to reputational damage for the business due to a loss in confidence and trust by users. If an attacker successfully executes code within the underlying system, it can result in data theft and indirect financial losses.
{{ cycler.__init__.__globals__.os.popen('id').read() }} and you will se it will execute.Payload:
{{ cycler.__init__.__globals__.os.popen('id').read() }}
The screenshot(s) below demonstrates the SSTI:

fief-server >= 0.19.0, < 0.25.3Upgrade to a patched release:
fief-server 0.25.3