CVE-2020-7799 Code injection in n/a
Authenticated users with template editing permissions can execute arbitrary OS commands via FreeMarker injection in FusionAuth.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2020-7799?
CVE-2020-7799 is a high-severity code injection vulnerability in n/a, published on 28 Jan 2020. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
An issue was discovered in FusionAuth before 1.11.0. An authenticated user, allowed to edit e-mail templates (Home -> Settings -> Email Templates) or themes (Home -> Settings -> Themes), can execute commands on the underlying operating system by abusing freemarker.template.utility.Execute in the Apache FreeMarker engine that processes custom templates.
Weakness: CWE-917
Which versions are affected by CVE-2020-7799?
It affects 1 product.
Products include Fusionauth Fusionauth.
How do I fix CVE-2020-7799?
No fix has been published for CVE-2020-7799 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2020-7799 being exploited?
There is no known exploitation of CVE-2020-7799 in the wild and no public exploit code.
Public exploit code: 2 proofs of concept on GitHub.
Other vulnerabilities in n/a
Sources
Also known as GHSA-5649-2hc3-qv28.