Microsoft Exchange ProxyToken flaw can allow attackers to read your emails
Vulnerabilities mentionedAll →
| CVE | Vulnerability | CVSS | EPSS | Flags | Affected | Exposure | Published |
|---|---|---|---|---|---|---|---|
| CVE-2021-33766 | Unauthenticated Information Disclosure (ProxyToken) in Microsoft Exchange Server CVE-2021-33766, publicly known as 'ProxyToken', is an information disclosure vulnerability caused by an authentication bypass in the Exchange Control Panel (ECP) of Microsoft Exchange Server. An unauthenticated attacker sends specially crafted requests to the exposed ECP endpoint that abuse Exchange's default authentication-token handling in its proxy layer, so the backend treats the request as an authenticated session for another user's mailbox. The attacker gains access to victims' mailboxes — reading emails — and, as the related reporting notes, can reconfigure mailbox/server settings such as adding delegates or forwarding rules. Organizations running affected on-premises Exchange servers (Exchange Server 2016 and 2019 per Microsoft's advisory) with ECP/OWA exposed are affected; the cloud-hosted Exchange Online service is not. Exploitation is confirmed in the wild: CISA added the flaw to its Known Exploited Vulnerabilities Catalog on 2022-01-18 and EPSS estimates a 98.1% probability of exploitation within 30 days, though no public proof-of-concept is cataloged and ransomware use is unknown. Do: Apply the July 2021 security updates — or any later cumulative or security update — for Exchange Server 2016/2019, per Microsoft's instructions and CISA's KEV required action. Until patched, limit internet exposure of ECP/OWA and review mailbox audit logs, delegate assignments, and inbox forwarding rules for signs of tampering, since ProxyToken has been used to read mail and reconfigure mailboxes. | 7.3 | 98% | KEV |
| massseveral hundred thousand (order of 300,000–500,000) internet-exposed on-prem Exchange servers |
Full article632 words · extracted from securityaffairs.com · click to collapse

ProxyToken is a serious vulnerability in Microsoft Exchange Server that could allow unauthentication attackers to access emails from a target account.
Technical details of a serious vulnerability in the Microsoft Exchange Server, dubbed ProxyToken (CVE-2021-33766), were publicly disclosed. The issue could be exploited by an unauthenticated attacker to access emails from a target account.
An attacker can trigger the flaw by sending a specially crafted request to web services within the Exchange Control Panel (ECP) application and access messages from a victim’s inbox.
An attacker could exploit the issue to access mailbox settings and set up an email forwarding rule in order to receive the messages sent to the victims.
As a pre-requisite for the attack, the attacker needs to have an account on the same Exchange server as the victim.
“This vulnerability allows remote attackers to disclose sensitive information on affected installations of Microsoft Exchange Server. Authentication is not required to exploit this vulnerability.” reads the advisory published Zero-Day Initiative (ZDI). “The specific flaw exists within the authentication of requests to web services within the ecp web application. By issuing a crafted request, an attacker can bypass authentication. An attacker can leverage this vulnerability to disclose information from the server.”
The vulnerability was discovered by Le Xuan Tuyen from the Information Security Center of Vietnam Posts and Telecommunications Group (VNPT-ISC) in March.
The experts noticed that Outlook Web Access and Exchange Control Panel pass authentication requests to the Exchange Back End.
When the “Delegated Authentication” feature is active in Microsoft Exchange installs, the front-end forwards the requests that need authentication to the backend. These requests include a ‘SecurityToken’ cookie that when is present in a request within ‘/ecp’, delegates the authentication process to the backend.
“Thus, for requests within /ecp, if the front end finds a non-empty cookie named SecurityToken, it delegates authentication to the back end. Code on the back end that examines and validates the SecurityToken cookie is found in the class Microsoft.Exchange.Configuration.DelegatedAuthentication.DelegatedAuthenticationModule” reads the analysis published by ZDI. “As you can see, in a default configuration of the product, a element appears, so that the module DelegatedAuthModule will not be loaded at all for the back-end ECP site.”
Anyway, the experts noticed that in a default configuration of the product, the module DelegatedAuthModule will not be loaded at all for the back-end ECP site.
“In summary, when the front end sees the SecurityToken cookie, it knows that the back end alone is responsible for authenticating this request. Meanwhile, the back end is completely unaware that it needs to authenticate some incoming requests based upon the SecurityToken cookie, since the DelegatedAuthModule is not loaded in installations that have not been configured to use the special delegated authentication feature. The net result is that requests can sail through, without being subjected to authentication on either the front or back end.” continues the analysis.
Experts noticed that in order to trigger the issue, each request to an /ecp page is required to have a ticket known as the “ECP canary”. In the absence of the canary, the request will come back with an HTTP 500. However, the researchers noticed that the 500 error response is accompanied by a valid canary that could be used to issue an unauthenticated request.
Microsoft has addressed the ProxyToken flaw in July, it has been rated with a CVSS score of 7.5 because it could be exploited by an attacker with an account on the same Exchange server as the victim.
Researchers from Bleeping Computer noticed that some experts already reported exploit attempts that occurred in the last weeks.
Below is a tweet published by security experts Rich Warren from NCC Groug:
Follow me on Twitter: @securityaffairs and Facebook
| [adrotate banner=”9″] | [adrotate banner=”12″] |
(SecurityAffairs – hacking, ProxyToken)
[adrotate banner=”5″]
[adrotate banner=”13″]
Text extracted automatically; images, tables and formatting may be missing. Original: https://securityaffairs.com/121653/hacking/microsoft-exchange-proxytoken-flaw.html