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

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

EPSS score

0.095%
(42nd percentile)

Weaknesses

CVE ID

CVE-2022-24905

GHSA ID

GHSA-xmg8-99r8-jc2j

Source code

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