Amazon CloudWatch Agent < 1.247355 (GHSA-j8x2-2m5w-j939)

medium Nessus Plugin ID 191143

Synopsis

The remote host is missing a security update.

Description

The version of Amazon CloudWatch Agent installed on the remote host is prior to 1.247355. It is, therefore, affected by a vulnerability as referenced in the GHSA-j8x2-2m5w-j939 advisory.

- A privilege escalation issue exists within the Amazon CloudWatch Agent for Windows, software for collecting metrics and logs from Amazon EC2 instances and on-premises servers, in versions up to and including v1.247354. When users trigger a repair of the Agent, a pop-up window opens with SYSTEM permissions. Users with administrative access to affected hosts may use this to create a new command prompt as NT AUTHORITY\SYSTEM. To trigger this issue, the third party must be able to access the affected host and elevate their privileges such that they're able to trigger the agent repair process. They must also be able to install the tools required to trigger the issue. This issue does not affect the CloudWatch Agent for macOS or Linux. Agent users should upgrade to version 1.247355 of the CloudWatch Agent to address this issue. There is no recommended work around. Affected users must update the installed version of the CloudWatch Agent to address this issue. (CVE-2022-23511)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade Amazon CloudWatch Agent based upon the guidance specified in GHSA-j8x2-2m5w-j939.

Plugin Details

Severity: Medium

ID: 191143

File Name: amazon_cloudwatch_agent_GHSA-j8x2-2m5w-j939.nasl

Version: 1.0

Type: local

Agent: windows

Family: Windows

Published: 2/29/2024

Updated: 2/29/2024

Supported Sensors: Continuous Assessment, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 8.3

Temporal Score: 6.1

Vector: CVSS2#AV:N/AC:L/Au:M/C:C/I:C/A:C

CVSS Score Source: CVE-2022-23511

CVSS v3

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.9

Vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:amazon:cloudwatch_agent

Required KB Items: installed_sw/Amazon CloudWatch Agent

Exploit Ease: No known exploits are available

Patch Publication Date: 12/19/2022

Vulnerability Publication Date: 12/10/2022

Reference Information

CVE: CVE-2022-23511