CVE-2022-25165

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.
References
Link Resource
https://github.com/RhinoSecurityLabs/CVEs Exploit Third Party Advisory
https://rhinosecuritylabs.com/aws/cve-2022-25165-aws-vpn-client/ Exploit Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:amazon:aws_client_vpn:2.0.0:*:*:*:*:*:*:*

History

13 May 2022, 12:37

Type Values Removed Values Added
References (MISC) https://github.com/RhinoSecurityLabs/CVEs - Third Party Advisory (MISC) https://github.com/RhinoSecurityLabs/CVEs - Exploit, Third Party Advisory
CWE CWE-668 CWE-367
CVSS v2 : 4.0
v3 : 6.5
v2 : 6.9
v3 : 7.0

21 Apr 2022, 10:08

Type Values Removed Values Added
References (MISC) https://github.com/RhinoSecurityLabs/CVEs - (MISC) https://github.com/RhinoSecurityLabs/CVEs - Third Party Advisory
References (MISC) https://rhinosecuritylabs.com/aws/cve-2022-25165-aws-vpn-client/ - (MISC) https://rhinosecuritylabs.com/aws/cve-2022-25165-aws-vpn-client/ - Exploit, Third Party Advisory
CPE cpe:2.3:a:amazon:aws_client_vpn:2.0.0:*:*:*:*:*:*:*
First Time Amazon
Amazon aws Client Vpn
CWE CWE-668
CVSS v2 : unknown
v3 : unknown
v2 : 4.0
v3 : 6.5

14 Apr 2022, 16:38

Type Values Removed Values Added
New CVE

Information

Published : 2022-04-14 16:15

Updated : 2023-12-10 14:22


NVD link : CVE-2022-25165

Mitre link : CVE-2022-25165

CVE.ORG link : CVE-2022-25165


JSON object : View

Products Affected

amazon

  • aws_client_vpn
CWE
CWE-367

Time-of-check Time-of-use (TOCTOU) Race Condition