CVE-2019-16097
Harbor Self-Registration Escalation: Administrator Account Creation
Description
core/api/user.go in Harbor 1.7.0 through 1.8.2 allows non-admin users to create admin accounts via the POST /api/users API, when Harbor is setup with DB as authentication backend and allow user to do self-registration. Fixed version: v1.7.6 v1.8.3. v.1.9.0. Workaround without applying the fix: configure Harbor to use non-DB authentication backend such as LDAP.
INFO
Published Date :
Sept. 8, 2019, 4:15 p.m.
Last Modified :
Aug. 24, 2020, 5:37 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
2.8
Public PoC/Exploit Available at Github
CVE-2019-16097 has a 30 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2019-16097
.
URL | Resource |
---|---|
http://www.vmware.com/security/advisories/VMSA-2019-0015.html | Third Party Advisory |
https://github.com/goharbor/harbor/commit/b6db8a8a106259ec9a2c48be8a380cb3b37cf517 | Patch Third Party Advisory |
https://github.com/goharbor/harbor/compare/v1.8.2...v1.9.0-rc1 | Patch Third Party Advisory |
https://github.com/goharbor/harbor/releases/tag/v1.7.6 | Third Party Advisory |
https://github.com/goharbor/harbor/releases/tag/v1.8.3 | Third Party Advisory |
https://unit42.paloaltonetworks.com/critical-vulnerability-in-harbor-enables-privilege-escalation-from-zero-to-admin-cve-2019-16097/ | Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
中间件的exp
None
CSS HTML JavaScript
bounty collection
Shell Python Dockerfile Ruby JavaScript ASP.NET Classic ASP HTML PHP Jupyter Notebook
poc集合(持续更新ing)
在公网收集的gobypoc+部分自己加的poc
A Common Vulnerability PoC Knowledge Base一个普遍漏洞POC知识库
vulnerability
None
Python Shell C# Java PHP
None
Python
None
Python
热门框架/组件/服务漏洞的描述/利用/修复
POC集合,框架nday漏洞利用
一个漏洞POC知识库 目前数量 1000+
poc
安全类各家文库大乱斗
HTML CSS JavaScript Go Python Shell C
None
Python Shell C# Java PHP
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2019-16097
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2019-16097
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CWE Remap by [email protected]
Aug. 24, 2020
Action Type Old Value New Value Changed CWE CWE-264 CWE-862 -
CPE Deprecation Remap by [email protected]
Apr. 01, 2020
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:goharbor:harbor:1.9.0:rc1:*:*:*:*:*:* OR *cpe:2.3:a:linuxfoundation:harbor:1.9.0:rc1:*:*:*:*:*:* -
CPE Deprecation Remap by [email protected]
Apr. 01, 2020
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:goharbor:harbor:1.8.2:rc2:*:*:*:*:*:* OR *cpe:2.3:a:linuxfoundation:harbor:1.8.2:rc2:*:*:*:*:*:* -
CPE Deprecation Remap by [email protected]
Apr. 01, 2020
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:goharbor:harbor:1.8.2:rc1:*:*:*:*:*:* OR *cpe:2.3:a:linuxfoundation:harbor:1.8.2:rc1:*:*:*:*:*:* -
CPE Deprecation Remap by [email protected]
Apr. 01, 2020
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:goharbor:harbor:1.8.2:-:*:*:*:*:*:* OR *cpe:2.3:a:linuxfoundation:harbor:1.8.2:-:*:*:*:*:*:* -
CPE Deprecation Remap by [email protected]
Apr. 01, 2020
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:goharbor:harbor:1.8.1:*:*:*:*:*:*:* OR *cpe:2.3:a:linuxfoundation:harbor:1.8.1:*:*:*:*:*:*:* -
CPE Deprecation Remap by [email protected]
Apr. 01, 2020
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:goharbor:harbor:1.8.0:rc2:*:*:*:*:*:* OR *cpe:2.3:a:linuxfoundation:harbor:1.8.0:rc2:*:*:*:*:*:* -
CPE Deprecation Remap by [email protected]
Apr. 01, 2020
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:goharbor:harbor:1.8.0:rc1:*:*:*:*:*:* OR *cpe:2.3:a:linuxfoundation:harbor:1.8.0:rc1:*:*:*:*:*:* -
CPE Deprecation Remap by [email protected]
Apr. 01, 2020
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:goharbor:harbor:1.8.0:-:*:*:*:*:*:* OR *cpe:2.3:a:linuxfoundation:harbor:1.8.0:-:*:*:*:*:*:* -
CPE Deprecation Remap by [email protected]
Apr. 01, 2020
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:goharbor:harbor:1.7.5:*:*:*:*:*:*:* OR *cpe:2.3:a:linuxfoundation:harbor:1.7.5:*:*:*:*:*:*:* -
CPE Deprecation Remap by [email protected]
Apr. 01, 2020
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:goharbor:harbor:1.7.4:*:*:*:*:*:*:* OR *cpe:2.3:a:linuxfoundation:harbor:1.7.4:*:*:*:*:*:*:* -
CPE Deprecation Remap by [email protected]
Apr. 01, 2020
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:goharbor:harbor:1.7.3:*:*:*:*:*:*:* OR *cpe:2.3:a:linuxfoundation:harbor:1.7.3:*:*:*:*:*:*:* -
CPE Deprecation Remap by [email protected]
Apr. 01, 2020
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:goharbor:harbor:1.7.2:*:*:*:*:*:*:* OR *cpe:2.3:a:linuxfoundation:harbor:1.7.2:*:*:*:*:*:*:* -
CPE Deprecation Remap by [email protected]
Apr. 01, 2020
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:goharbor:harbor:1.7.1:*:*:*:*:*:*:* OR *cpe:2.3:a:linuxfoundation:harbor:1.7.1:*:*:*:*:*:*:* -
CPE Deprecation Remap by [email protected]
Apr. 01, 2020
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:goharbor:harbor:1.7.0:rc2:*:*:*:*:*:* OR *cpe:2.3:a:linuxfoundation:harbor:1.7.0:rc2:*:*:*:*:*:* -
CPE Deprecation Remap by [email protected]
Apr. 01, 2020
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:goharbor:harbor:1.7.0:rc1:*:*:*:*:*:* OR *cpe:2.3:a:linuxfoundation:harbor:1.7.0:rc1:*:*:*:*:*:* -
CPE Deprecation Remap by [email protected]
Apr. 01, 2020
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:goharbor:harbor:1.7.0:-:*:*:*:*:*:* OR *cpe:2.3:a:linuxfoundation:harbor:1.7.0:-:*:*:*:*:*:* -
Modified Analysis by [email protected]
Oct. 17, 2019
Action Type Old Value New Value Changed Reference Type http://www.vmware.com/security/advisories/VMSA-2019-0015.html No Types Assigned http://www.vmware.com/security/advisories/VMSA-2019-0015.html Third Party Advisory Changed Reference Type https://github.com/goharbor/harbor/commit/b6db8a8a106259ec9a2c48be8a380cb3b37cf517 Patch https://github.com/goharbor/harbor/commit/b6db8a8a106259ec9a2c48be8a380cb3b37cf517 Patch, Third Party Advisory Changed Reference Type https://github.com/goharbor/harbor/compare/v1.8.2...v1.9.0-rc1 Patch https://github.com/goharbor/harbor/compare/v1.8.2...v1.9.0-rc1 Patch, Third Party Advisory Changed Reference Type https://github.com/goharbor/harbor/releases/tag/v1.7.6 No Types Assigned https://github.com/goharbor/harbor/releases/tag/v1.7.6 Third Party Advisory Changed Reference Type https://github.com/goharbor/harbor/releases/tag/v1.8.3 No Types Assigned https://github.com/goharbor/harbor/releases/tag/v1.8.3 Third Party Advisory Changed Reference Type https://unit42.paloaltonetworks.com/critical-vulnerability-in-harbor-enables-privilege-escalation-from-zero-to-admin-cve-2019-16097/ No Types Assigned https://unit42.paloaltonetworks.com/critical-vulnerability-in-harbor-enables-privilege-escalation-from-zero-to-admin-cve-2019-16097/ Third Party Advisory Changed CPE Configuration OR *cpe:2.3:a:harbor:harbor:*:*:*:*:*:*:*:* versions from (including) 1.7.0 up to (including) 1.8.2 OR *cpe:2.3:a:goharbor:harbor:1.7.0:-:*:*:*:*:*:* *cpe:2.3:a:goharbor:harbor:1.7.0:rc1:*:*:*:*:*:* *cpe:2.3:a:goharbor:harbor:1.7.0:rc2:*:*:*:*:*:* *cpe:2.3:a:goharbor:harbor:1.7.1:*:*:*:*:*:*:* *cpe:2.3:a:goharbor:harbor:1.7.2:*:*:*:*:*:*:* *cpe:2.3:a:goharbor:harbor:1.7.3:*:*:*:*:*:*:* *cpe:2.3:a:goharbor:harbor:1.7.4:*:*:*:*:*:*:* *cpe:2.3:a:goharbor:harbor:1.7.5:*:*:*:*:*:*:* *cpe:2.3:a:goharbor:harbor:1.8.0:-:*:*:*:*:*:* *cpe:2.3:a:goharbor:harbor:1.8.0:rc1:*:*:*:*:*:* *cpe:2.3:a:goharbor:harbor:1.8.0:rc2:*:*:*:*:*:* *cpe:2.3:a:goharbor:harbor:1.8.1:*:*:*:*:*:*:* *cpe:2.3:a:goharbor:harbor:1.8.2:-:*:*:*:*:*:* *cpe:2.3:a:goharbor:harbor:1.8.2:rc1:*:*:*:*:*:* *cpe:2.3:a:goharbor:harbor:1.8.2:rc2:*:*:*:*:*:* *cpe:2.3:a:goharbor:harbor:1.9.0:rc1:*:*:*:*:*:* -
CVE Modified by [email protected]
Sep. 24, 2019
Action Type Old Value New Value Added Reference http://www.vmware.com/security/advisories/VMSA-2019-0015.html [No Types Assigned] -
CVE Modified by [email protected]
Sep. 20, 2019
Action Type Old Value New Value Changed Description core/api/user.go in Harbor 1.7.0 through 1.8.2 allows non-admin users to create admin accounts via the POST /api/users API. This is fixed in 1.7.6 and 1.8.3. core/api/user.go in Harbor 1.7.0 through 1.8.2 allows non-admin users to create admin accounts via the POST /api/users API, when Harbor is setup with DB as authentication backend and allow user to do self-registration. Fixed version: v1.7.6 v1.8.3. v.1.9.0. Workaround without applying the fix: configure Harbor to use non-DB authentication backend such as LDAP. Added Reference https://github.com/goharbor/harbor/releases/tag/v1.8.3 [No Types Assigned] Added Reference https://github.com/goharbor/harbor/releases/tag/v1.7.6 [No Types Assigned] -
CVE Modified by [email protected]
Sep. 19, 2019
Action Type Old Value New Value Added Reference https://unit42.paloaltonetworks.com/critical-vulnerability-in-harbor-enables-privilege-escalation-from-zero-to-admin-cve-2019-16097/ [No Types Assigned] -
Initial Analysis by [email protected]
Sep. 09, 2019
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:S/C:N/I:P/A:N) Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N Changed Reference Type https://github.com/goharbor/harbor/commit/b6db8a8a106259ec9a2c48be8a380cb3b37cf517 No Types Assigned https://github.com/goharbor/harbor/commit/b6db8a8a106259ec9a2c48be8a380cb3b37cf517 Patch Changed Reference Type https://github.com/goharbor/harbor/compare/v1.8.2...v1.9.0-rc1 No Types Assigned https://github.com/goharbor/harbor/compare/v1.8.2...v1.9.0-rc1 Patch Added CWE CWE-264 Added CPE Configuration OR *cpe:2.3:a:harbor:harbor:*:*:*:*:*:*:*:* versions from (including) 1.7.0 up to (including) 1.8.2
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2019-16097
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2019-16097
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
96.56 }} 0.06%
score
0.99652
percentile