6.5
MEDIUM
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.

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.

Affected Products

The following products are affected by CVE-2019-16097 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linuxfoundation harbor
References to Advisories, Solutions, and Tools

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

Updated: 4 days, 22 hours ago
0 stars 2 fork 2 watcher
Born at : Nov. 17, 2024, 11:53 a.m. This repo has been linked 414 different CVEs too.

中间件的exp

Updated: 1 month ago
1 stars 0 fork 0 watcher
Born at : Oct. 15, 2024, 8:49 a.m. This repo has been linked 58 different CVEs too.

None

CSS HTML JavaScript

Updated: 9 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Feb. 2, 2024, 2:11 p.m. This repo has been linked 494 different CVEs too.

bounty collection

Shell Python Dockerfile Ruby JavaScript ASP.NET Classic ASP HTML PHP Jupyter Notebook

Updated: 2 months, 2 weeks ago
26 stars 4 fork 4 watcher
Born at : Sept. 11, 2023, 11:19 a.m. This repo has been linked 234 different CVEs too.

poc集合(持续更新ing)

Updated: 6 months, 2 weeks ago
4 stars 0 fork 0 watcher
Born at : July 30, 2023, 1:30 a.m. This repo has been linked 154 different CVEs too.

在公网收集的gobypoc+部分自己加的poc

Updated: 2 months, 2 weeks ago
96 stars 5 fork 5 watcher
Born at : July 28, 2023, 4:28 p.m. This repo has been linked 296 different CVEs too.

A Common Vulnerability PoC Knowledge Base一个普遍漏洞POC知识库

vulnerability

Updated: 4 months, 1 week ago
17 stars 6 fork 6 watcher
Born at : June 24, 2023, 3:12 p.m. This repo has been linked 232 different CVEs too.

None

Python Shell C# Java PHP

Updated: 1 year, 3 months ago
2 stars 0 fork 0 watcher
Born at : May 3, 2023, 2:08 p.m. This repo has been linked 59 different CVEs too.

None

Python

Updated: 2 months, 2 weeks ago
7 stars 0 fork 0 watcher
Born at : Dec. 5, 2022, 2:29 a.m. This repo has been linked 26 different CVEs too.

None

Python

Updated: 2 months, 2 weeks ago
565 stars 135 fork 135 watcher
Born at : Nov. 25, 2022, 5:20 a.m. This repo has been linked 174 different CVEs too.

热门框架/组件/服务漏洞的描述/利用/修复

Updated: 5 months, 2 weeks ago
12 stars 2 fork 2 watcher
Born at : Aug. 17, 2022, 8:51 a.m. This repo has been linked 57 different CVEs too.

POC集合,框架nday漏洞利用

Updated: 2 months, 2 weeks ago
373 stars 49 fork 49 watcher
Born at : April 4, 2022, 5:54 a.m. This repo has been linked 105 different CVEs too.

一个漏洞POC知识库 目前数量 1000+

poc

Updated: 2 months, 2 weeks ago
3417 stars 682 fork 682 watcher
Born at : Feb. 20, 2022, 6:43 a.m. This repo has been linked 405 different CVEs too.

安全类各家文库大乱斗

HTML CSS JavaScript Go Python Shell C

Updated: 2 months, 2 weeks ago
856 stars 214 fork 214 watcher
Born at : Feb. 15, 2022, 3:14 a.m. This repo has been linked 568 different CVEs too.

None

Python Shell C# Java PHP

Updated: 10 months ago
34 stars 22 fork 22 watcher
Born at : July 26, 2021, 7:16 a.m. This repo has been linked 59 different CVEs too.

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
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
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

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability