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.

Jul 25, 2025 - 10:12
Updated: 
102.1k

Cyber Threats, Scams & Online Safety in Cybersecurity & Ethical Hacking · News & analysis

Penetration Testing, Network Security

AWS Client VPN for Windows CVE-2025-8069: Risk and Fix

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\local folder on shared machines.
  • The root cause, an uncontrolled search path, is common in Windows installers.

Table of Contents

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?

  1. On Windows, any user can create folders at the root of the C: drive, including C:\usr\local\....
  2. A low-privilege user creates the expected folder and places an OpenSSL configuration file there that loads a malicious module.
  3. Later, an administrator installs or upgrades AWS Client VPN.
  4. 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?

PlatformAffectedFixed
Windows4.1.0, 5.0.0, 5.0.1, 5.0.2, 5.1.0, 5.2.0, 5.2.15.2.2 and later
macOSNot affectedn/a
LinuxNot affectedn/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?

  1. Deploy AWS Client VPN 5.2.2 or later to all Windows devices.
  2. Remove older installers from software portals and shared drives.
  3. Before upgrading shared machines, delete any unexpected C:\usr\local\windows-x86_64-openssl-localbuild folder.
  4. 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:\usr or /usr/local before release.
  • Have installers load configuration only from protected locations such as Program Files.
  • For OpenSSL-based software on Windows, set OPENSSLDIR to 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

A local privilege escalation flaw in the AWS Client VPN installer for Windows, published in AWS bulletin AWS-2025-014.

AWS Client VPN for Windows version 5.2.2 and later.

No. AWS said only the Windows client was affected.

No. The attacker needs a local account and must wait for an administrator to run the installer.

C:\usr\local\windows-x86_64-openssl-localbuild\ssl, a build path the installer looked in for OpenSSL configuration.

Look at Apps and Features or query the Windows uninstall registry keys for AWS VPN Client.

Remove it if unexpected, upgrade the client and investigate the machine if the folder contained files.

An uncontrolled search path element, CWE-427.

What's Your Reaction?

Like Like 0
Dislike Dislike 0
Love Love 0
Funny Funny 0
Wow Wow 0
Sad Sad 0
Angry Angry 0
Vaishnavi

Vaishnavi is a skilled tech professional at the Ethical Hacking Training Institute in Pune, responsible for managing and optimizing the technical infrastructure that supports advanced cybersecurity education. With deep expertise in network security, backend operations, and system performance, she ensures that practical labs, online modules, and assessments run smoothly and securely. Her behind-the-scenes contributions play a vital role in delivering a seamless and secure learning experience for aspiring ethical hackers.