CVE-2023-38182: Microsoft Exchange Server Remote Code Execution Vulnerability
CVE-2023-38182 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 5.92% probability of exploitation activity in the next 30 days, higher than 93% 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-38182
- 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
- 5.92% (percentile 93%)
- 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-38182 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
| Metric | Value |
|---|---|
| Attack vector | Adjacent network |
| Attack complexity | Low |
| Privileges required | Low |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality impact | High |
| Integrity impact | High |
| Availability impact | High |
| Exploit code maturity | Unproven |
| Remediation level | Official fix |
| Report confidence | Confirmed |
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, the attack vector is adjacent (AV:A). What does that mean for this vulnerability?
An authenticated attacker could exploit this vulnerability with LAN access.
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.
Affected products (3)
Server Software
| Product | Security update | Type | Fixed build | Restart |
|---|---|---|---|---|
| Microsoft Exchange Server 2019 Cumulative Update 13 | KB5030524 | Security Update | 15.02.1258.025 | Yes |
| Microsoft Exchange Server 2016 Cumulative Update 23 | KB5030524 | Security Update | 15.01.2507.032 | Yes |
| Microsoft Exchange Server 2019 Cumulative Update 12 | KB5030524 | Security Update | 15.02.1118.037 | Yes |
Security updates (1)
- KB5030524 (Security Update)
NIST NVD data
- NVD status
- Modified
- NVD CVSS
- 8 (HIGH)
- NVD weakness
- CWE-502
- Published to NVD
- NVD last modified
Affected configurations (CPE)
| Product | Vulnerable versions |
|---|---|
| exchange server 2016 | all listed versions |
| exchange server 2019 | all listed versions |
| exchange server 2019 | all listed versions |
References
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-38182 (Patch, Vendor Advisory)
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-38182 (Patch, Vendor Advisory)
Acknowledgments
- Anonymous
Revision history
| Version | Date | Description |
|---|---|---|
| 1.0 | Information published. | |
| 1.1 | Added FAQ regarding a new known issue in the August Exchange security updates. | |
| 2.0 | 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. |