PatchaPalooza

CVE-2023-35388: Microsoft Exchange Server Remote Code Execution Vulnerability

CVE-2023-35388 is a remote code execution vulnerability in Microsoft Exchange Server, rated Important by Microsoft, with a CVSS 3.1 base score of 8 (High). An attacker can exploit it from an adjacent network, with low privileges and without user interaction. Microsoft has not reported exploitation in the wild and rates exploitation as more likely. The EPSS model estimates a 6.85% probability of exploitation activity in the next 30 days, higher than 94% of all scored vulnerabilities. Microsoft released the fix on 7 August 2023 in the August 2023 Patch Tuesday, delivered through 1 security update (KB5030524). It affects 3 products in 1 product family (Server Software).

Key facts

CVE ID
CVE-2023-35388
Severity
High CVSS 8
Microsoft severity
Important
Impact
Remote Code Execution
Exploited in the wild
No
Publicly disclosed
No
Exploitation likelihood
More Likely
Weakness
CWE-502
EPSS
6.85% (percentile 94%)
CISA KEV
Not listed
Released
Last updated
Patch Tuesday
August 2023 Patch Tuesday
Product families
Server Software

CVSS score and vector

Microsoft scores CVE-2023-35388 at 8 (temporal 7) using CVSS 3.1. Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C

MetricValue
Attack vectorAdjacent network
Attack complexityLow
Privileges requiredLow
User interactionNone
ScopeUnchanged
Confidentiality impactHigh
Integrity impactHigh
Availability impactHigh
Exploit code maturityUnproven
Remediation levelOfficial fix
Report confidenceConfirmed

Frequently asked questions (Microsoft)

Is there anything that I should be aware of if I'm running a non-English operating system and version of Exchange server?

Yes, an issue has been discovered with the non-English August updates of Exchange Server and you should postpone installing these updates. The script protecting customers from the vulnerability documented by CVE-2023-21709 can be run to protect against the vulnerability without installing the August updates. Microsoft recommends running the script.

August 15, 2023 Update: The known issue affecting the non-English August updates of Exchange Server has been resolved. Microsoft recommends installing the updated packages as soon as possible.

Please see the Exchange Blog for more information.

How could an attacker exploit this vulnerability?

An authenticated attacker who is on the same intranet as the Exchange server can achieve remote code execution via a PowerShell remoting session.

According to the CVSS metric, privileges required is low (PR:L). Does the attacker need to be in an authenticated role on the Exchange Server?

Yes, the attacker must be authenticated with LAN-access and have credentials for a valid Exchange user.

According to the CVSS metric, the attack vector is adjacent (AV:A). What does that mean for this vulnerability?

An authenticated attacker could exploit this vulnerability with LAN access.

What privileges could be gained by an attacker who successfully exploited the vulnerability?

An authenticated attacker could gain remote code execution rights on the server mailbox backend as NT AUTHORITY\SYSTEM.

Affected products (3)

Server Software

ProductSecurity updateTypeFixed buildRestart
Microsoft Exchange Server 2019 Cumulative Update 13KB5030524Security Update15.02.1258.025Yes
Microsoft Exchange Server 2016 Cumulative Update 23KB5030524Security Update15.01.2507.032Yes
Microsoft Exchange Server 2019 Cumulative Update 12KB5030524Security Update15.02.1118.037Yes

Security updates (1)

NIST NVD data

NVD status
Modified
NVD CVSS
8 (HIGH)
NVD weakness
CWE-502
Published to NVD
NVD last modified

Affected configurations (CPE)

ProductVulnerable versions
exchange server 2016all listed versions
exchange server 2019all listed versions
exchange server 2019all listed versions

References

Acknowledgments

  • m4yfly with TianGong Team of Legendsec at Qi'anxin Group

Revision history

VersionDateDescription
1.0Information published.
1.1Added FAQ regarding a new known issue in the August Exchange security updates.
2.0The known issue affecting the non-English August updates of Exchange Server has been resolved. Microsoft recommends installing the updated packages as soon as possible.

Sources