Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Threat Intelligence

04:15 PM
Connect Directly

Microsoft Fixes Exchange Server Zero-Days Exploited in Active Attacks

Microsoft fixes multiple Exchange Server vulnerabilities being weaponized in attacks from a group it believes operates out of China.

Microsoft has released patches for four critical vulnerabilities being used to target on-premises versions of Microsoft Exchange Server in "limited and targeted" attacks. It attributes the activity to a group called Hafnium, which officials believe is state-sponsored and operates out of China.

Related Content:

Attackers Know Microsoft 365 Better Than You Do

Special Report: How IT Security Organizations Are Attacking the Cybersecurity Problem

New From The Edge: Cybercrime 'Help Wanted': Job Hunting on the Dark Web

The zero-days recently exploited include CVE-2021-26855, CVE-2021-26857, CVE-2021-26858, and CVE-2021-27065. Microsoft urges customers to update their on-premises systems with the patches "immediately" and says these flaws affect Microsoft Exchange Server versions 2013, 2016, and 2019. Exchange Online is not affected.

In the technical details of a blog post shared today, Microsoft says CVE-2021-26855 is a server-side request (SSRF) vulnerability that allows an attacker to send arbitrary HTTP requests and then authenticate as the Exchange server. CVE-2021-26857 is an insecure deserialization flaw in the Unified Messaging service; exploiting this allows attackers to run code as SYSTEM on the server. 

CVE-2021-26858 and CVE-2021-27065 are both post-authentication arbitrary file write vulnerabilities in Exchange. If an attacker could authenticate with the Exchange server, they could use these flaws to write a file to any path on the server. Microsoft notes they could first authenticate by exploiting SSRF flaw CVE-2021-26855 or by compromising admin credentials. 

Hafnium has been using these previously unknown vulnerabilities as part of an attack chain. So far, this is the only actor Microsoft has seen using these exploits.

Its attacks are made up of three steps: Hafnium first gains access to an Exchange server either with a stolen password or by exploiting one of the Exchange server zero-days to appear as someone with legitimate access. Attackers then deploy a Web shell so they can remotely control an affected server. This remote access enables them to steal data from target organizations.

Microsoft notes this group downloaded the Exchange offline address book from target systems; in doing so, Hafnium was able to access data about the target business and its users. Exchange Server is primarily used by businesses; officials note there is no evidence indicating Hafnium has targeted individual consumers or that its exploits affect other Microsoft products. 

Who Is Hafnium?
Microsoft attributes this campaign to Hafnium "with high confidence." This is the first time it's discussing Hafnium, a state-sponsored actor described as "highly skilled and sophisticated." While it's believed to attack from China, Hafnium mostly conducts its operations from leased virtual private servers in the United States – where most of its victims are located. 

Hafnium primarily targets US-based organizations to steal data across industries. It has previously targeted law firms, infectious disease researchers, institutions of higher education, defense contractors, policy think tanks, and non-governmental organizations (NGOs), Microsoft reports

Researchers with Volexity and Dubex are credited for alerting Microsoft to aspects of this new Hafnium activity and working with them to address it. US government agencies have been informed of the attacks as well. Details and guidance on the updates can be found here.

Microsoft provides indicators of compromise, detection help, and advanced hunting queries in its writeup so businesses can determine whether they've been targeted in this type of attack.

The initial attack requires an untrusted connection to Exchange Server port 443. As a mitigation, Microsoft notes organizations can protect against this by blocking untrusted connections or using a VPN to separate an Exchange server from external access. However, Microsoft notes this will only work in blocking initial access. If attackers already have access or can convince an admin to run a malicious file, it's possible they can launch other stages in the attack chain.

"Even though we've worked quickly to deploy an update for the Hafnium exploits, we know that many nation-state actors and criminal groups will move quickly to take advantage of any unpatched systems," Microsoft officials wrote in a blog post. "Promptly applying today's patches is the best protection against this attack." 

Microsoft also acknowledges the exploits announced today are not connected to attacks related to the SolarWinds incident.

Kelly Sheridan is the Staff Editor at Dark Reading, where she focuses on cybersecurity news and analysis. She is a business technology journalist who previously reported for InformationWeek, where she covered Microsoft, and Insurance & Technology, where she covered financial ... View Full Bio

Recommended Reading:

Comment  | 
Print  | 
More Insights
Oldest First  |  Newest First  |  Threaded View
User Rank: Apprentice
3/7/2021 | 9:44:53 AM
Some of these vulnerabilities require authentication
These authentication requests should be monitored and protected
Ransomware Is Not the Problem
Adam Shostack, Consultant, Entrepreneur, Technologist, Game Designer,  6/9/2021
How Can I Test the Security of My Home-Office Employees' Routers?
John Bock, Senior Research Scientist,  6/7/2021
New Ransomware Group Claiming Connection to REvil Gang Surfaces
Jai Vijayan, Contributing Writer,  6/10/2021
Register for Dark Reading Newsletters
White Papers
Cartoon Contest
Write a Caption, Win an Amazon Gift Card! Click Here
Latest Comment: Google's new See No Evil policy......
Current Issue
The State of Cybersecurity Incident Response
In this report learn how enterprises are building their incident response teams and processes, how they research potential compromises, how they respond to new breaches, and what tools and processes they use to remediate problems and improve their cyber defenses for the future.
Flash Poll
How Enterprises are Developing Secure Applications
How Enterprises are Developing Secure Applications
Recent breaches of third-party apps are driving many organizations to think harder about the security of their off-the-shelf software as they continue to move left in secure software development practices.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
PUBLISHED: 2021-06-18
RIOT-OS 2021.01 before commit 44741ff99f7a71df45420635b238b9c22093647a contains a buffer overflow which could allow attackers to obtain sensitive information.
PUBLISHED: 2021-06-18
SerenityOS contains a buffer overflow in the set_range test in TestBitmap which could allow attackers to obtain sensitive information.
PUBLISHED: 2021-06-18
SerenityOS in test-crypto.cpp contains a stack buffer overflow which could allow attackers to obtain sensitive information.
PUBLISHED: 2021-06-18
SerenityOS before commit 3844e8569689dd476064a0759d704bc64fb3ca2c contains a directory traversal vulnerability in tar/unzip that may lead to command execution or privilege escalation.
PUBLISHED: 2021-06-18
RIOT-OS 2021.01 before commit 85da504d2dc30188b89f44c3276fc5a25b31251f contains a buffer overflow which could allow attackers to obtain sensitive information.