#VU74232 Improper Authentication in harbor-helm 

 

#VU74232 Improper Authentication in harbor-helm

Published: March 31, 2023


Vulnerability identifier: #VU74232
Vulnerability risk: Medium
CVSSv4.0: 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/E:U/U:Green
CVE-ID: N/A
CWE-ID: CWE-287
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
harbor-helm
Software vendor:
Harbor

Description

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.


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.


External links