Improper Authentication in harbor-helm - #VU74232

 

Improper Authentication in harbor-helm - #VU74232

Published: March 31, 2023


Vulnerability identifier: #VU74232
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-287
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to bypass authentication process.

The vulnerability exists due to insecure configuration when installing Harbor with Harbor-helm. If the "core.secretName" option in the values.yaml is not set, the application will use the default and publicly available public/private key to sign the JWT token, which is used to push/pull images in Harbor. As a result, a remote non-authenticated attacker can forge the JWT token and push/pull images in Harbor without any authentication.


Affected software

harbor-helm

Remediation

Install updates from vendor's website.

Important! Upgrading harbor-helm to a fixed version does NOT fix the issue in existing Harbor instances. Please, follow the vendor's workaround instructions to resolve this vulnerability.


harbor-helm - addressed in versions 1.3.18, 1.9.6, 1.10.4, 1.11.1

External References

Related Security Bulletins