AWS Client VPN for Windows CVE-2025-8069: Risk and Fix
CVE-2025-8069 is a local privilege escalation flaw in the AWS Client VPN client for Windows. During installation, the installer looked for an OpenSSL configuration file in a hardcoded folder, C:\usr\local\windows-x86_64-openssl-localbuild\ssl, which a non-administrator user can create.
Topic: Cyber Threats, Scams & Online Safety in Cybersecurity & Ethical Hacking · News & analysis
Also covers: Penetration Testing, Network Security
Quick answer: CVE-2025-8069 is a local privilege escalation flaw in the AWS Client VPN client for Windows. During installation, the installer looked for an OpenSSL configuration file in a hardcoded folder, C:\usr\local\windows-x86_64-openssl-localbuild\ssl, which a non-administrator user can create. By placing a malicious configuration there, a local user could have code run with administrator rights when an administrator installed or upgraded the client. AWS rated it Important in security bulletin AWS-2025-014 (23 July 2025). It affects Windows client versions 4.1.0 and 5.0.0 to 5.2.1 and is fixed in version 5.2.2. macOS and Linux clients are not affected.
Key takeaways
- The attacker needs a local, non-admin account on the Windows machine already.
- Exploitation happens when an administrator runs the installer, not during normal VPN use.
- Upgrade to AWS Client VPN 5.2.2 or later and stop distributing older installers.
- Check for and remove an unexpected
C:\usr\localfolder on shared machines. - The root cause, an uncontrolled search path, is common in Windows installers.
Table of Contents
- What Is CVE-2025-8069?
- How Does the Attack Work?
- Which Versions Are Affected?
- How Do You Check Your Machines?
- How Do You Fix It?
- What Is the Wider Lesson for Installers?
- References
What Is CVE-2025-8069?
AWS Client VPN is the desktop application employees use to connect to an organisation's AWS Client VPN endpoint. AWS published security bulletin AWS-2025-014 describing a flaw in the Windows installer: it referenced an OpenSSL configuration path left over from the build environment. The NVD record lists the CVE; third-party CVSS scores differ, generally rating it high.
How Does the Attack Work?
- On Windows, any user can create folders at the root of the C: drive, including
C:\usr\local\.... - A low-privilege user creates the expected folder and places an OpenSSL configuration file there that loads a malicious module.
- Later, an administrator installs or upgrades AWS Client VPN.
- The installer, running with administrator rights, reads the planted configuration and runs the attacker's code with those rights.
This is an uncontrolled search path weakness (CWE-427).
Which Versions Are Affected?
| Platform | Affected | Fixed |
|---|---|---|
| Windows | 4.1.0, 5.0.0, 5.0.1, 5.0.2, 5.1.0, 5.2.0, 5.2.1 | 5.2.2 and later |
| macOS | Not affected | n/a |
| Linux | Not affected | n/a |
See the Windows client release notes for the current version.
How Do You Check Your Machines?
# Installed AWS VPN Client version (PowerShell)
Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*,
HKLM:\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* |
Where-Object DisplayName -like "*AWS VPN Client*" |
Select-Object DisplayName, DisplayVersion
# Look for the planted-path folder and who created it
Test-Path "C:\usr\local\windows-x86_64-openssl-localbuild\ssl"
Get-Acl "C:\usr" -ErrorAction SilentlyContinue | Select-Object Owner
Run these across the fleet with your endpoint management tool. A C:\usr folder on a Windows machine that nobody can explain deserves investigation.
How Do You Fix It?
- Deploy AWS Client VPN 5.2.2 or later to all Windows devices.
- Remove older installers from software portals and shared drives.
- Before upgrading shared machines, delete any unexpected
C:\usr\local\windows-x86_64-openssl-localbuildfolder. - If the folder existed with suspicious content, treat the machine as possibly compromised and investigate.
As a general hardening step, some organisations restrict creating folders at the root of C: for standard users through Group Policy or endpoint controls.
What Is the Wider Lesson for Installers?
- Never ship builds that reference build-machine paths; scan binaries for strings like
C:\usror/usr/localbefore release. - Have installers load configuration only from protected locations such as Program Files.
- For OpenSSL-based software on Windows, set
OPENSSLDIRto a protected directory at build time. - Run installers through managed deployment rather than letting administrators install interactively on shared machines.
Related: VMware Tools privilege flaws and what a VPC is. WebAsha offers AWS security training.
References
Frequently Asked Questions
What's Your Reaction?
Like
0
Dislike
0
Love
0
Funny
0
Wow
0
Sad
0
Angry
0