CVE-2021-31206: (Pwn2Own) Microsoft Exchange Server CabUtility ExtractCab Directory Traversal Remote Code Execution Vulnerability

Published Jul 13, 2021
·
Updated

Microsoft Exchange Server Remote Code Execution Vulnerability

Other sources

This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Microsoft Exchange Server. User interaction is required to exploit this vulnerability. The specific flaw exists within the parsing of CAB files. When handling filenames specified within a CAB file, the process does not properly validate a user-supplied path prior to using it in file operations. An attacker can leverage this in conjunction with other vulnerabilities to execute arbitrary code in the context of SYSTEM.

ZDI

Affected Software

11 affected componentsFixes available
Microsoft Exchange
Microsoft Exchange Server=2013-cumulative_update_23
Microsoft Exchange Server=2016-cumulative_update_20
Microsoft Exchange Server=2016-cumulative_update_21
Microsoft Exchange Server=2019-cumulative_update_10
Microsoft Exchange Server=2019-cumulative_update_9
Microsoft Exchange Server 2019=9
15.02.0858.015
Microsoft Exchange Server 2016=20
15.01.2242.012
Microsoft Exchange Server 2016=21
15.01.2308.014
Microsoft Exchange Server 2019=10
15.02.0922.013
Microsoft Exchange Server 2013=23
15.00.1497.023

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 15.02.0858.015Patch KB5004780
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 15.00.1497.023Patch KB5004778
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 15.01.2242.012Patch KB5004779
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 15.01.2308.014Patch KB5004779
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 15.02.0922.013Patch KB5004780

Event History

Jul 13, 2021
CVE Published
via Microsoft·02:00 PM
Data Sourced
via Microsoft·02:00 PM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·02:00 PM
Affected Software
Updated
via Microsoft·02:00 PM
Description
Jul 14, 2021
CVE Published
via MITRE·05:53 PM
Data Sourced
via MITRE·05:53 PM
DescriptionSeverity
Data Sourced
via NVD·06:15 PM
RemedyDescriptionSeverityAffected Software
Jul 19, 2021
Advisory Published
via ZDI·12:00 AM
Data Sourced
via ZDI·12:00 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is CVE-2021-31206?

CVE-2021-31206 is a vulnerability that allows network-adjacent attackers to execute arbitrary code on affected installations of Microsoft Exchange Server.

2

Is user interaction required to exploit CVE-2021-31206?

Yes, user interaction is required to exploit this vulnerability.

3

How does the vulnerability in CVE-2021-31206 occur?

The vulnerability in CVE-2021-31206 occurs within the parsing of CAB files.

4

Which products are affected by CVE-2021-31206?

Microsoft Exchange Server 2013 (Cumulative Update 23), Microsoft Exchange Server 2016 (Cumulative Update 20 and Cumulative Update 21), and Microsoft Exchange Server 2019 (Cumulative Update 9 and Cumulative Update 10) are affected by CVE-2021-31206.

5

What is the severity of CVE-2021-31206?

CVE-2021-31206 has a severity score of 8, which is considered high.

6

How can I fix CVE-2021-31206?

To fix CVE-2021-31206, apply the relevant security updates provided by Microsoft.

7

Where can I find more information about CVE-2021-31206?

You can find more information about CVE-2021-31206 on the Microsoft Security Response Center website and the Zero Day Initiative website.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203