PT-2023-12723 · Weave · Weave Gitops

Paulo Gomes

·

Published

2023-01-09

·

Updated

2024-08-20

·

CVE-2022-23508

CVSS v3.1

8.8

High

VectorAV:A/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Weave GitOps versions prior to v0.12.0
Description A vulnerability in GitOps run could allow a local user or process to alter a Kubernetes cluster's resources. GitOps run has a local S3 bucket which it uses for synchronizing files that are later applied against a Kubernetes cluster. Its endpoint had no security controls to block unauthorized access, therefore allowing local users (and processes) on the same machine to see and alter the bucket content. By leveraging this vulnerability, an attacker could pick a workload of their choosing and inject it into the S3 bucket, which resulted in the successful deployment in the target cluster, without the need to provide any credentials to either the S3 bucket nor the target Kubernetes cluster.
Recommendations To resolve the issue, upgrade to Weave GitOps version >= v0.12.0 released on 08/12/2022. As a temporary workaround, consider restricting access to the local S3 bucket to minimize the risk of exploitation.

Exploit

Fix

Improper Access Control

Files Accessible to External Parties

Weakness Enumeration

Related Identifiers

CVE-2022-23508
GHSA-WR3C-G326-486C
GO-2023-1377

Affected Products

Weave Gitops