Massive vulnerability means lost email password can lead to hacked Microsoft Exchange Server, worse

Reading time icon 2 min. read


Readers help support MSpoweruser. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help MSPoweruser sustain the editorial team Read more

server hacked

A massive security hole has been found which means most Microsoft Exchange Servers 2013 and above can be hacked to give criminals full Domain Controller admin privileges, allowing them to create accounts on the target server and come and go at will.

All that is needed for the PrivExchange attack is the email address and password of a mailbox user, and in some circumstances not even that.

Hackers are able to compromise the server using a combination of 3 vulnerabilities, which are:

  1. Microsoft Exchange servers have a feature called Exchange Web Services (EWS) that attackers can abuse to make the Exchange servers authenticate on an attacker-controlled website with the computer account of the Exchange server.
  2. This authentication is done using NTLM hashes sent via HTTP, and the Exchange server also fails to set the Sign and Seal flags for the NTLM operation, leaving the NTLM authentication vulnerable to relay attacks, and allowing the attacker to obtain the Exchange server’s NTLM hash (Windows computer account password).
  3. Microsoft Exchange servers are installed by default with access to many high privilege operations, meaning the attacker can use the Exchange server’s newly compromised computer account to gain admin access on a company’s Domain Controller, giving them the ability to create more backdoor accounts at will.

The hack works on fully patched Windows servers, and no patch is currently available. There is however a number of mitigations which can be read here.

CERT credits the vulnerability to Dirk-jan Mollema. Read more detail on the attack at Dirk-jan’s site here.

Via ZDNet.com

More about the topics: exchange server, vulnerability