CVE-2020-7799: FusionAuth - Command Injection
- Cve: CVE-2020-7799
- Name: FusionAuth - Command Injection
- 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.
- Impact: Authenticated users can execute arbitrary commands on the server, potentially leading to full system compromise.
- Remediation: Update to version 1.11.0 or later.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: logged_in
- Requirements: User must have permissions to edit email templates or themes
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.2
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.19807
- Epss percentile: 0.97476
- Assignee: [email protected]
- Published at: 2020-01-28T13:15:12Z
- Age in days: 2492
- Modified at: 2026-06-17T03:25:27Z
- Patch available: yes
- Public exploits total: 3
- References total: 4
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-7799
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-917 | Improper Neutralization of Special Elements used in an Expression Language Statement |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://fusionauth.io/docs/v1/tech/release-notes | nvd | 2020-01-28 |
| https://github.com/ianxtianxt/CVE-2020-7799 | poc-in-github | 2020-02-19 |
| https://github.com/Pikaqi/cve-2020-7799 | poc-in-github | 2020-02-10 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://fusionauth.io/docs/v1/tech/release-notes | Exploit, Release Notes, Vendor Advisory |
| http://packetstormsecurity.com/files/156102/FusionAuth-1.10-Remote-Command-Execution.html | Third Party Advisory, VDB Entry |
| https://lab.mediaservice.net/advisory/2020-03-fusionauth.txt | Third Party Advisory |
| https://seclists.org/bugtraq/2020/Jan/39 | Mailing List, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| fusionauth:fusionauth | < 1.11.0 | no | nvd | /v1/products/fusionauth/fusionauth |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Exploitation seen: yes
- Public exploit: yes
- Public exploit count: 3
- Public exploit first date: 2020-01-28
- Remote: yes
- Authentication required: yes
- Exposed hosts: 1039
- Checked, none or zero: known exploited, known exploited by, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports