CVE-2022-25165
A TOCTOU race condition exists during the validation of VPN configuration files.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.53%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
An issue was discovered in Amazon AWS VPN Client 2.0.0. A TOCTOU race condition exists during the validation of VPN configuration files. This allows parameters outside of the AWS VPN Client allow list to be injected into the configuration file prior to the AWS VPN Client service (running as SYSTEM) processing the file. Dangerous arguments can be injected by a low-level user such as log, which allows an arbitrary destination to be specified for writing log files. This leads to an arbitrary file write as SYSTEM with partial control over the files content. This can be abused to cause an elevation of privilege or denial of service.
- CVSS 3.1
- 7.0 HIGHCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 0.53% probability · 43th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-367
- Affected
- amazon/aws client vpn
- Source
- cve@mitre.org
References
- https://github.com/RhinoSecurityLabs/CVEsExploit, Third Party Advisory
- https://rhinosecuritylabs.com/aws/cve-2022-25165-aws-vpn-client/Exploit, Third Party Advisory
- https://github.com/RhinoSecurityLabs/CVEsExploit, Third Party Advisory
- https://rhinosecuritylabs.com/aws/cve-2022-25165-aws-vpn-client/Exploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.