harbor-default-login: Harbor Registry - Default Admin Credentials
- Template: harbor-default-login
- Name: Harbor Registry - Default Admin Credentials
- Description: Detected: The Harbor container registry was found to be using default administrator credentials (admin:Harbor12345). An attacker could have gained full administrative access to manage registries, projects, users, and stored container images.
- Severity: high
- Authors: 0x_Akoko
- Tags: harbor, default-login, auth, registry, vuln
- References: https://goharbor.io/docs/1.10/install-config/run-installer-script/, https://goharbor.io/docs/latest/administration/managing-users/
- Verified: yes
- Max requests: 2
- Directory: http/default-logins
- Path: http/default-logins/harbor-registry-default-login.yaml
- Digest: 4b0a00483046022100ed560f941b56c4cd0037c6b723593c5eb470e50915f06c7093f301dd94229d7c02210084a5e073178e3dad8148f582127c4a214734328c00cd768a222bb5c2bef7da2c
- Created at: 2026-03-24T08:11:34Z
- Updated at: 2026-03-24T08:12:00Z
- Age in days: 245
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/default-logins/harbor-registry-default-login.yaml
- Checked, none or zero: cves
- Not known: impact, remediation
Classification
- Checked, none or zero: cwe
- Not known: cvss score, cvss vector, epss score, epss percentile, cpe
Metadata
- Fofa-query: title="Harbor"
- Max-request: 2
- Product: harbor
- Shodan-query: http.title:"Harbor"
- Vendor: goharbor
- Verified: yes
Products
| Product | Indexed | Url |
|---|---|---|
| goharbor:harbor | yes | /v1/products/goharbor/harbor |
Labels
- Name: Harbor Registry - Default Admin Credentials
- Impact: Attackers can gain full administrative access to manage registries, projects, users, and stored container images.
- Remediation: Change the default administrator password to a strong, unique password and update to the latest version of Harbor.
- Vulnerability type: hardcoded_credentials
- Vulnerability impact: data_tampering, privilege_escalation
- Requirement type: none
- Labels source: securitycontext
- Not known: requirements, from cve
```yaml
id: harbor-default-login
info:
name: Harbor Registry - Default Admin Credentials
author: 0x_Akoko
severity: high
description: |
Detected: The Harbor container registry was found to be using default administrator credentials (admin:Harbor12345). An attacker could have gained full administrative access to manage registries, projects, users, and stored container images.
reference:
- https://goharbor.io/docs/1.10/install-config/run-installer-script/
- https://goharbor.io/docs/latest/administration/managing-users/
metadata:
verified: true
max-request: 2
vendor: goharbor
product: harbor
shodan-query: 'http.title:"Harbor"'
fofa-query: 'title="Harbor"'
tags: harbor,default-login,auth,registry,vuln
variables:
username: "admin"
password: "Harbor12345"
flow: http(1) && http(2)
http:
- raw:
- |
GET /api/v2.0/systeminfo HTTP/1.1
Host: {{Hostname}}
Accept: application/json
matchers:
- type: dsl
internal: true
dsl:
- 'status_code == 200'
- 'contains(content_type, "application/json")'
- 'contains(body, "auth_mode")'
condition: and
- raw:
- |
GET /api/v2.0/users/current HTTP/1.1
Host: {{Hostname}}
Authorization: Basic {{base64(username + ":" + password)}}
Accept: application/json
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(content_type, "application/json")'
- 'contains_all(body, "\"username\"", "\"admin\"", "\"sysadmin_flag\"")'
condition: and
digest: 4b0a00483046022100ed560f941b56c4cd0037c6b723593c5eb470e50915f06c7093f301dd94229d7c02210084a5e073178e3dad8148f582127c4a214734328c00cd768a222bb5c2bef7da2c:922c64590222798bb761d5b6d8e72950
```