4.3medium
Harbor is vulnerable to a limited Server-Side Request Forgery (SSRF) (CVE-2020-13788)
- Severity
- 4.3medium CVSS:3.1 by NVD
- Exploit likelihood
- 1.30% (higher than 71% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-33p6-fx42-7rf5BIT-HARBOR-2020-13788GO-2022-0781
Description
Harbor prior to 2.0.1 allows SSRF with this limitation: an attacker with the ability to edit projects can scan ports of hosts accessible on the Harbor server's intranet.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| github.com/goharbor/harbor (Go) | from 1.8.0 before 2.0.1, from 1.8.0 before 2.0.1+incompatible | GitHub Advisory Database, Go Vulnerability Database |
| linuxfoundation harbor | before 2.0.1 | NVD |
| harbor (Bitnami) | before 2.0.1 | Bitnami Vulnerability Database |
All scores
| GitHub | 4.4low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N/E:P/RL:O/RC:C |
| NVD | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | 4.0medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
What each source says
CVE List
Harbor prior to 2.0.1 allows SSRF with this limitation: an attacker with the ability to edit projects can scan ports of hosts accessible on the Harbor server's intranet.
GitHub Advisory Database
Impact
Matt Hamilton from Soluble has discovered a limited Server-Side Request Forgery (SSRF) that allowed Harbor project owners to scan the TCP ports of hosts on the Harbor server's internal network.
The vulnerability was immediately fixed by the Harbor team.
Issue
The “Test Endpoint” API, part of the functionality for ensuring a project Webhook is accessible and functional, is vulnerable to a limited SSRF attack. A malicious user that is also a project administrator can use this API for internal port scanning.
Known Attack Vectors
Successful exploitation of this issue will lead to bad actors identifying open TCP ports on any network that is accessible by the Harbor core services
Patches
If your product uses the affected releases of Harbor, update to version 2.0.1 to patch this issue immediately.
https://github.com/goharbor/harbor/releases/tag/v2.0.1
Workarounds
Since only project administrators (the user that created the project) are allowed to test the webhook endpoints configured in Harbor, a Harbor system administrator can control who is a project admin. In addition, Harbor system administrators can enforce a setting where only an administrator is allowed to create new projects instead of the default Everyone. This further restricts who can be a project administrator in Harbor.
For more information
If you have any questions or comments about this advisory, contact cncf-harbor-security@lists.cncf.io View our security policy at https://github.com/goharbor/harbor/security/policy https://nvd.nist.gov/vuln/detail/CVE-2020-13788 https://www.soluble.ai/blog/harbor-ssrf-cve-2020-13788
Go Vulnerability Database
Harbor is vulnerable to a limited Server-Side Request Forgery (SSRF) (CVE-2020-13788) in github.com/goharbor/harbor
NVD (es)
Harbor versiones anteriores a 2.0.1, permite un ataque de tipo SSRF con esta limitación: un atacante con la capacidad de editar proyectos puede escanear puertos de hosts accesibles en la intranet del servidor Harbor
References
| https://github.com/goharbor/harbor/releases | advisory, third-party-advisory, web | |
| https://www.soluble.ai/blog/harbor-ssrf-cve-2020-13788 | advisory, exploit, third-party-advisory, web | |
| https://www.youtube.com/watch?v=v8Isqy4yR3Q | advisory, exploit, third-party-advisory, web | |
| https://github.com/goharbor/harbor/security/advisories/GHSA-33p6-fx42-7rf5 | advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-13788 | advisory, web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-13788 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-33p6-fx42-7rf5 changed 2024-08-21 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2022-0781 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2020-13788 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-HARBOR-2020-13788 changed 2026-09-08 | Apache-2.0 |