Authentication bypass in Harbor-helm



Published: 2023-03-31
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID N/A
CWE-ID CWE-287
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
harbor-helm
Server applications / Other server solutions

Vendor Harbor

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Improper Authentication

EUVDB-ID: #VU74232

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 - Improper Authentication

Exploit availability: No

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.3.0 - 1.11.0

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.



###SIDEBAR###