Exploitation Summary
EIP tracks 2 public exploits for CVE-2020-7799. PoCs published by ianxtianxt, Pikaqi.
AI-analyzed exploit summary This repository contains a functional exploit for CVE-2020-7799, which targets a Freemarker template injection vulnerability in FusionAuth. The PoC sends a crafted POST request to execute arbitrary commands (e.g., 'cat /etc/passwd') via the 'emailTemplate.defaultHtmlTemplate' parameter.
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.
Exploits (2)
This repository contains a functional exploit for CVE-2020-7799, which targets a Freemarker template injection vulnerability in FusionAuth. The PoC sends a crafted POST request to execute arbitrary commands (e.g., 'cat /etc/passwd') via the 'emailTemplate.defaultHtmlTemplate' parameter.
This repository contains a functional exploit for CVE-2020-7799, which targets a Freemarker template injection vulnerability in FusionAuth. The script sends a crafted POST request to execute arbitrary commands (e.g., 'cat /etc/passwd') via the 'emailTemplate.defaultHtmlTemplate' parameter.
References (4)
Scores
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H