Skip to content

Login screen allows message spoofing if SSO is enabled

Moderate severity GitHub Reviewed Published May 18, 2022 in argoproj/argo-cd • Updated Jan 27, 2023

Package

gomod github.com/argoproj/argo-cd (Go)

Affected versions

<= 1.8.7

Patched versions

2.1.15
gomod github.com/argoproj/argo-cd/v2 (Go)
>= 2.3.0, < 2.3.4
>= 2.2.0, < 2.2.9
>= 2.0.0, < 2.1.15
2.3.4
2.2.9
2.1.15

Description

Impact

A vulnerability was found in Argo CD that allows an attacker to spoof error messages on the login screen when SSO is enabled.

In order to exploit this vulnerability, an attacker would have to trick the victim to visit a specially crafted URL which contains the message to be displayed.

As far as the research of the Argo CD team concluded, it is not possible to specify any active content (e.g. Javascript) or other HTML fragments (e.g. clickable links) in the spoofed message.

Patched versions

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

  • v2.3.4
  • v2.2.9
  • v2.1.15

Workarounds

No workaround available.

Mitigations

It is advised to update to an Argo CD version containing a fix for this issue (see Patched versions above).

Credits

This vulnerability was discovered by Naufal Septiadi (naufal@horangi.com) and reported to us in a responsible way.

For more information

References

@jannfis jannfis published to argoproj/argo-cd May 18, 2022
Published by the National Vulnerability Database May 20, 2022
Published to the GitHub Advisory Database May 24, 2022
Reviewed May 24, 2022
Last updated Jan 27, 2023

Severity

Moderate
4.3
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Weaknesses

CVE ID

CVE-2022-24905

GHSA ID

GHSA-xmg8-99r8-jc2j

Source code

github.com/argoproj/argo-cd
Checking history
See something to contribute? Suggest improvements for this vulnerability.