Use of hard coded credentials in GoHarbor Harbor version 2.15.0 and below, allows attackers to use the default password and gain access to the web UI.
The Harbor application has hardcoded default administrator credentials (login: admin, password: Harbor12345), which are set at factory defaults and are not enforced to be changed during installation. An attacker can use these publicly known credentials to log in to the web administration panel. The vulnerability is classified as CWE-798 (use of hardcoded credentials) and CWE-1393 (use of default passwords), meaning the problem lies in the application design rather than a logic error.
An attacker gains full administrative access to the Harbor web interface, which may lead to takeover of the container image repository, disclosure of sensitive data, and manipulation of stored artifacts.
The default administrator password (Harbor12345) must be changed immediately to a strong, unique password. It is recommended to update to the version of Harbor in which the issue was resolved according to the pull request indicated in the references (github.com/goharbor/harbor/pull/22751). Additionally, verify that no production environments are running with default credentials and restrict access to the administration panel at the network level (firewall, VPN).
GoHarbor Harbor version 2.15.0 and all earlier versions in which the default administrator password has not been changed after installation.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:LLinuxfoundation Harbor
APPLinuxfoundation≤ 2.15.0
Related vulnerabilities
Harbor fails to validate user permissions when reading and updating job execution logs through the P2P preheat...
Harbor fails to validate user permissions while deleting Webhook policies, allowing malicious users to view, u...
Harbor fails to validate the user permissions when updating p2p preheat policies. By sending a request to upda...
Harbor fails to validate the user permissions when updating tag retention policies. By sending a request to ...
An access control issue in Harbor v1.X.X to v2.5.3 allows attackers to access public and private image reposit...