CVE-2021-25864: Hue Magic - File Inclusion
- Cve: CVE-2021-25864
- Name: Hue Magic - File Inclusion
- Description: node-red-contrib-huemagic 3.0.0 is affected by hue/assets/..%2F Directory Traversal.in the res.sendFile API, used in file hue-magic.js, to fetch an arbitrary file.
- Impact: Attackers can access arbitrary files on the system, potentially leading to information disclosure or further system compromise.
- Remediation: Update to the latest version where the vulnerability is fixed or implement input validation for res.sendFile.
- Vulnerability type: file_inclusion
- Vulnerability impact: information_disclosure, file_system_read
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.09331
- Epss percentile: 0.95509
- Assignee: [email protected]
- Published at: 2021-01-26T18:16:21Z
- Age in days: 2128
- Modified at: 2026-06-17T03:42:31Z
- Public exploits total: 1
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-25864
- Nvd status: modified
- Checked, none or zero: patch available, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
Known exploited entries
| List | Added date | Due date | Ransomware use |
|---|---|---|---|
| vulncheck | 2023-12-24 | — | no |
Nuclei templates
| Id | Url |
|---|---|
| CVE-2021-25864 | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-25864.yaml |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/Foddy/node-red-contrib-huemagic/issues/217 | nvd | 2021-01-26 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/Foddy/node-red-contrib-huemagic/issues/217 | nvd | Exploit, Mitigation, Third Party Advisory |
| https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-25864.yaml | nuclei_template | Nuclei Template |
| https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2021-25864 | vulncheck | Vulncheck Reported Exploitation |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| dgtl:huemagic | = 3.0.0 | no | nvd | /v1/products/dgtl/huemagic |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| Foddy/node-red-contrib-huemagic | issues, package | yes | /v1/repositories/Foddy/node-red-contrib-huemagic |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Known exploited by: vulncheck
- Vulncheck known exploited since: 2023-12-24
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2021-01-26
- Remote: yes
- Exposed hosts: 13343
- Checked, none or zero: known exploited, exploitation seen, initial access, authentication required
- Not known: known exploited since, initial access since, hackerone reports