Lucene search

K
githubGitHub Advisory DatabaseGHSA-C8XW-VJGF-94HR
HistoryAug 23, 2023 - 5:50 p.m.

Argo CD web terminal session doesn't expire

2023-08-2317:50:41
CWE-613
GitHub Advisory Database
github.com
14
security vulnerability
argo cd
web terminal
session expiration
patch
mitigation

CVSS3

7.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N

EPSS

0.001

Percentile

30.3%

Impact

All versions of Argo CD starting from v2.6.0 have a bug where open web terminal sessions do not expire. This bug allows users to send any websocket messages even if the token has already expired. The most straightforward scenario is when a user opens the terminal view and leaves it open for an extended period. This allows the user to view sensitive information even when they should have been logged out already.

Patches

A patch for this vulnerability has been released in the following Argo CD version:

  • v2.6.14
  • v2.7.12
  • v2.8.1

Workarounds

The only way to completely resolve the issue is to upgrade.

Mitigations

Disable web-based terminal or define RBAC rules to it
https://argo-cd.readthedocs.io/en/latest/operator-manual/web_based_terminal/

For more information

If you have any questions or comments about this advisory:

Credits

Thank you to bean.zhang (@zhlu32 ) of HIT-IDS ChunkL Team who discovered the issue and reported it confidentially according to our guidelines.

Affected configurations

Vulners
Node
github.com\/argoproj\/argocdMatch2.8.0
OR
github.com\/argoproj\/argocdRange<2.7.12
OR
github.com\/argoproj\/argocdRange<2.6.14
VendorProductVersionCPE
github.com\/argoproj\/argocd2.8.0cpe:2.3:a:github.com\/argoproj\/argo:cd:2.8.0:*:*:*:*:*:*:*
github.com\/argoproj\/argocd*cpe:2.3:a:github.com\/argoproj\/argo:cd:*:*:*:*:*:*:*:*

CVSS3

7.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N

EPSS

0.001

Percentile

30.3%