PrivExchange
CVE-2018-8581
Last updated
Was this helpful?
CVE-2018-8581
Last updated
Was this helpful?
PrivExchange relay on the , PushSubscription is an API on Exchange Web Services that allows to subscribe to push notifications. Attackers abuse it to make Exchange servers authenticate to a target of their choosing. The coerced authentication is made over HTTP, which is particularly powerful when doing NTLM relay (because of the Session Signing and MIC mitigations).
As Exchange servers usually have high privileges in a domain (i.e. WriteDacl
, see Abusing ACLs), the forced authentication can then be relayed and abused to obtain domain admin privileges (see NTLM Relay and ).
On February 12th 2019, Microsoft released updates for Exchange which resolved
the coerced authentication issue
the fact that Exchange servers had overkill permissions leading attacker to a full domain compromission.
First, start the NTLM relay that will escalate privileges
We can now dump domain credentials throught DCSync
Using , we can log in on Exchange Web Services and call the API. The user must have a mailbox to make the coerced authentication.
If you don't have any credentials, it is still possible to relay the authentication to make the API call. The script can be used with ntlmrelayx.py to perform this attack. It uses NTLM Relaying with LLMNR / NBT-NS to relay captured credentials over the network.
is a all in One tools of Privexchange exploit. You only need to open the web server port, so no high privileges are required.