#VU74232 Improper Authentication in harbor-helm


Published: 2023-03-31

Vulnerability identifier: #VU74232

Vulnerability risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N/E:U/RL:O/RC:C]

CVE-ID: N/A

CWE-ID: CWE-287

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
harbor-helm
Server applications / Other server solutions

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.

Mitigation

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.

Vulnerable software versions

harbor-helm: 1.11.0, 1.10.0 - 1.10.3, 1.9.0 - 1.9.5, 1.8.0 - 1.8.3, 1.7.0 - 1.7.5, 1.6.0 - 1.6.4, 1.5.0 - 1.5.6, 1.4.0 - 1.4.6, 1.3.0 - 1.3.17


External links
http://github.com/goharbor/harbor/security/advisories/GHSA-j7jh-fmcm-xxwv


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability