7.0
HIGH
CVE-2022-25165
Amazon AWS VPN Client TOCTOU Race Condition WRITE Vulnerability
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.

INFO

Published Date :

April 14, 2022, 4:15 p.m.

Last Modified :

May 13, 2022, 12:37 p.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.0
Public PoC/Exploit Available at Github

CVE-2022-25165 has a 14 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2022-25165 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Amazon aws_client_vpn
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-25165.

URL Resource
https://github.com/RhinoSecurityLabs/CVEs Exploit Third Party Advisory
https://rhinosecuritylabs.com/aws/cve-2022-25165-aws-vpn-client/ Exploit Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Updated: 4 months ago
0 stars 0 fork 0 watcher
Born at : July 12, 2024, 5:32 a.m. This repo has been linked 5 different CVEs too.

None

Updated: 8 months ago
2 stars 1 fork 1 watcher
Born at : Sept. 12, 2023, 8:11 p.m. This repo has been linked 5 different CVEs too.

None

Updated: 1 year, 6 months ago
0 stars 1 fork 1 watcher
Born at : May 10, 2023, 3:37 p.m. This repo has been linked 2 different CVEs too.

gh repo clone jassics/awesome-aws-security

Updated: 1 year, 4 months ago
2 stars 0 fork 0 watcher
Born at : Feb. 23, 2023, 4:13 p.m. This repo has been linked 5 different CVEs too.

work in progress

Updated: 7 months, 1 week ago
5 stars 0 fork 0 watcher
Born at : Feb. 2, 2023, 2 p.m. This repo has been linked 1 different CVEs too.

None

Updated: 1 year, 10 months ago
1 stars 0 fork 0 watcher
Born at : Dec. 19, 2022, 12:48 p.m. This repo has been linked 5 different CVEs too.

None

Updated: 2 years ago
0 stars 0 fork 0 watcher
Born at : Nov. 7, 2022, 8:44 a.m. This repo has been linked 2 different CVEs too.

Azure and AWS Attacks

Updated: 2 months, 4 weeks ago
1043 stars 222 fork 222 watcher
Born at : Sept. 18, 2022, 4:23 p.m. This repo has been linked 2 different CVEs too.

A collection of proof-of-concept exploit scripts written by the team at Rhino Security Labs for various CVEs.

Shell

Updated: 2 years, 5 months ago
0 stars 0 fork 0 watcher
Born at : May 28, 2022, 6:42 p.m. This repo has been linked 34 different CVEs too.

None

Shell Python HTML PowerShell

Updated: 2 years, 1 month ago
1 stars 0 fork 0 watcher
Born at : May 27, 2022, noon This repo has been linked 34 different CVEs too.

None

Shell Python HTML PowerShell

Updated: 2 years, 2 months ago
2 stars 0 fork 0 watcher
Born at : May 27, 2022, 11:59 a.m. This repo has been linked 34 different CVEs too.

This repo has been replaced by https://www.cloudvulndb.org

Updated: 3 months, 2 weeks ago
719 stars 49 fork 49 watcher
Born at : Nov. 28, 2021, 9:23 p.m. This repo has been linked 7 different CVEs too.

Curated list of links, references, books videos, tutorials (Free or Paid), Exploit, CTFs, Hacking Practices etc. which are related to AWS Security

cloud-security aws-security awesome-list aws security security-tools aws-auditing awesome-lists aws-security-resources awesome aws-security-automation

Updated: 2 months, 1 week ago
1231 stars 256 fork 256 watcher
Born at : May 16, 2019, 6:35 a.m. This repo has been linked 5 different CVEs too.

A collection of proof-of-concept exploit scripts written by the team at Rhino Security Labs for various CVEs.

Python HTML Shell PowerShell Ruby

Updated: 2 months, 1 week ago
790 stars 224 fork 224 watcher
Born at : Dec. 18, 2018, 9:25 p.m. This repo has been linked 51 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-25165 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-25165 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Reanalysis by [email protected]

    May. 13, 2022

    Action Type Old Value New Value
    Added Evaluator Description At the time of analysis the advisory information and CVE List data did not consistently identify which data was applicable to CVE-2022-25166 and CVE-2022-25165. We have associated metadata based on what was published to the official CVE List.
    Removed CVSS V2 NIST (AV:N/AC:L/Au:S/C:P/I:N/A:N)
    Added CVSS V2 NIST (AV:L/AC:M/Au:N/C:C/I:C/A:C)
    Removed CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
    Added CVSS V3.1 NIST AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/RhinoSecurityLabs/CVEs Third Party Advisory https://github.com/RhinoSecurityLabs/CVEs Exploit, Third Party Advisory
    Removed CWE NIST CWE-668
    Added CWE NIST CWE-367
  • Initial Analysis by [email protected]

    Apr. 21, 2022

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:S/C:P/I:N/A:N)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
    Changed Reference Type https://github.com/RhinoSecurityLabs/CVEs No Types Assigned https://github.com/RhinoSecurityLabs/CVEs Third Party Advisory
    Changed Reference Type https://rhinosecuritylabs.com/aws/cve-2022-25165-aws-vpn-client/ No Types Assigned https://rhinosecuritylabs.com/aws/cve-2022-25165-aws-vpn-client/ Exploit, Third Party Advisory
    Added CWE NIST CWE-668
    Added CPE Configuration OR *cpe:2.3:a:amazon:aws_client_vpn:2.0.0:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-25165 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-25165 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.05 }} 0.00%

score

0.15037

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability