漏洞描述
Node-RED-Dashboard <2.26.2 存在路径遍历漏洞,该漏洞源自于在/nodes/ui_base.js中,URL与'/ui_base/js/*'匹配,然后传递给path.join,如果缺乏对最终路径的验证会导致路径遍历漏洞,攻击者可以利用这个漏洞读取服务器上的敏感数据,比如settings.js。
解决建议
建议您更新当前软件至最新版,完成漏洞的修复。
参考链接
https://github.com/node-red/node-red-dashboard/issues/669
https://github.com/node-red/node-red-dashboard/releases/tag/2.26.2