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.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 2 repositories
-
ianxtianxt/CVE-2020-7799 ★ 3 · Feb 19, 2020
-
Pikaqi/cve-2020-7799 ★ 1 · Feb 10, 2020
批量检测cve-2020-7799
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- https://fusionauth.io/docs/v1/tech/release-notes
- 20200127 CVE - CVE-2020-7799 - FusionAuth command execution via Apache Freemarker Template mailing-list
- http://packetstormsecurity.com/files/156102/FusionAuth-1.10-Remote-Command-Execution.html
- https://lab.mediaservice.net/advisory/2020-03-fusionauth.txt