SecurityContext

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

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

Known exploited entries

ListAdded dateDue dateRansomware use
vulncheck2023-12-24—no

Nuclei templates

IdUrl
CVE-2021-25864https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-25864.yaml

Public exploits

UrlSourceAdded date
https://github.com/Foddy/node-red-contrib-huemagic/issues/217nvd2021-01-26

References

UrlSourceTags
https://github.com/Foddy/node-red-contrib-huemagic/issues/217nvdExploit, Mitigation, Third Party Advisory
https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-25864.yamlnuclei_templateNuclei Template
https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2021-25864vulncheckVulncheck Reported Exploitation

Products

ProductAffectedPlatform boundSourcesUrl
dgtl:huemagic= 3.0.0nonvd/v1/products/dgtl/huemagic

Projects

RepositoryLink kindsIndexedUrl
Foddy/node-red-contrib-huemagicissues, packageyes/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

Nuclei template