cbcvebase.
CVE-2019-16097
published 2019-09-08

CVE-2019-16097: 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…

PriorityP258medium6.5CVSS 3.1
AVNACLPRLUINSUCNIHAN
EXPLOIT
EPSS
23.28%
97.5th percentile
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.

Affected

11 ranges
VendorProductVersion rangeFixed in
github.comgoharbor_harbor>= 1.7.0 < 1.9.0-rc11.9.0-rc1
linuxfoundationharbor
linuxfoundationharbor
linuxfoundationharbor
linuxfoundationharbor
linuxfoundationharbor
linuxfoundationharbor
linuxfoundationharbor
linuxfoundationharbor
linuxfoundationharbor
linuxfoundationharbor

Detection & IOCsextracted from sources · hover to see the quote

command{"username": "testpoc", "has_admin_role": true, "password": "TestPoc!", "email": "[email protected]", "realname": "poc"}
otherhttp.favicon.hash:657337228
othericon_hash=657337228
pathcore/api/user.go
  • A successful exploitation returns HTTP 201 (user created) or HTTP 409 (username already used), both indicating the payload reached the vulnerable endpoint.
  • Use the Nuclei template CVE-2019-16097.yaml (part of the harbor-workflow) to actively probe Harbor instances for this privilege escalation vulnerability.

CVSS provenance

nvdv3.16.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
nvdv2.04.0MEDIUMAV:N/AC:L/Au:S/C:N/I:P/A:N
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.