cbcvebase.
CVE-2021-33766
published 2021-07-14

CVE-2021-33766: Microsoft Exchange Server Information Disclosure Vulnerability

PriorityP187high7.5CVSS 3.1
AVNACLPRNUINSUCHINAN
KEVITWEXPLOITInitial access
CISA Known Exploited Vulnerabilitydue 2022-02-01
Exploited in the wild
EPSS
97.50%
99.9th percentile
Microsoft Exchange Server Information Disclosure Vulnerability

Affected

13 ranges
VendorProductVersion rangeFixed in
microsoftexchange_server
microsoftexchange_server
microsoftexchange_server
microsoftmicrosoft_exchange_server_2013_cumulative_update_23>= 15.00.0 < 15.00.1497.01515.00.1497.015
microsoftmicrosoft_exchange_server_2016_cumulative_update_19>= 15.01.0 < 15.01.2176.01215.01.2176.012
microsoftmicrosoft_exchange_server_2016_cumulative_update_20>= 15.01.0 < 15.01.2242.00815.01.2242.008
microsoftmicrosoft_exchange_server_2019_cumulative_update_8>= 15.02.0 < 15.02.0792.01315.02.0792.013
microsoftmicrosoft_exchange_server_2019_cumulative_update_9>= 15.02.0 < 15.02.0858.01015.02.0858.010
msrcmicrosoft_exchange_server_2013_cumulative_update_23
msrcmicrosoft_exchange_server_2016_cumulative_update_19
msrcmicrosoft_exchange_server_2016_cumulative_update_20
msrcmicrosoft_exchange_server_2019_cumulative_update_8
msrcmicrosoft_exchange_server_2019_cumulative_update_9

Detection & IOCsextracted from sources · hover to see the quote

url/ecp/{{email}}/PersonalSettings/HomePage.aspx?showhelp=false
cookieSecurityToken=x
path/ecp/
cookieSecurityToken=
cookiemsExchEcpCanary=
snort
alert http any any -> [$HOME_NET,$HTTP_SERVERS] any (msg:"ET EXPLOIT Microsoft Exchange - Information Disclosure flowbit set (CVE-2021-33766)"; flow:established,to_server; flowbits:set,ET.proxytoken; http.uri; content:"/ecp/"; nocase; fast_pattern; http.cookie; content:"SecurityToken="; reference:cve,2021-33766; classtype:attempted-admin; sid:2033834; rev:2; metadata:attack_target Server, created_at 2021_08_30, cve CVE_2021_33766, deployment Perimeter, deployment Internal, confidence High, signature_severity Major, tag Exploit, tag CISA_KEV, updated_at 2024_03_14, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;)
snort
alert http [$HOME_NET,$HTTP_SERVERS] any -> any any (msg:"ET EXPLOIT Microsoft Exchange - Successful msExchEcpCanary Disclosure (CVE-2021-33766)"; flow:established,to_client; flowbits:isset,ET.proxytoken; flowbits:unset,ET.proxytoken; http.stat_code; content:"500"; http.cookie; content:"msExchEcpCanary="; fast_pattern; xbits:set,ET.proxytoken.500,track ip_src,expire 30; reference:cve,2021-33766; classtype:attempted-admin; sid:2033835; rev:4; metadata:created_at 2021_08_30, cve CVE_2021_33766, confidence High, signature_severity Major, tag CISA_KEV, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2024_03_14;)
  • HTTP 403 response body containing both '403' and 'function signOut() {' indicates a vulnerable Exchange ECP endpoint hit via the ProxyToken authentication bypass.
  • Response header containing 'Microsoft.Exchange.Data.Storage.ObjectNotFoundException' and 'X-BEResource=' confirms successful authentication bypass and backend routing.
  • HTTP 500 response from Exchange server combined with a set msExchEcpCanary cookie in the response indicates successful ECP canary token disclosure (exploitation success indicator).
  • Shodan fingerprinting queries for exposed Exchange servers: favicon hash 1768726119 or title 'outlook'.
  • Exploit requests target the /ecp/ path with a SecurityToken cookie value (even a trivial value like 'x') to trigger the authentication bypass.
  • ·The Nuclei template uses a randomised email address in the URL path ({{randstr}}@{{rand_base(5)}}.com), so network signatures must account for variable path segments under /ecp/ rather than matching a fixed path.
  • ·The ET Snort rule for successful canary disclosure (sid:2033835) relies on stateful flowbit tracking (ET.proxytoken) set by the inbound request rule (sid:2033834); both rules must be deployed together for the success indicator to fire.

CVSS provenance

nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:N
vulncheck7.3HIGH
cisa7.5HIGH
vendor_msrc7.3HIGH
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.