Skip to main content
← All vulnerabilities
CVE-2019-16097GHSA-9WVH-FF5F-XJPJGO-2022-0818

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 s

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.9.0-rc1
6 proofs of concept on GitHub, 1 Nuclei template

Summary

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.

Timeline

  1. CVE published
  2. Record last updated
  3. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • n/a n/a

    Version range not reported

  • github.com/goharbor/harborGo

    From 1.7.0 · fixed in 1.9.0-rc1

References 13

GitHub · goharbor/harbor

unit42.paloaltonetworks.com

vmware.com

GitHub · projectdiscovery/nuclei-templates

GitHub · dacade/cve-2019-16097

GitHub · evilAdan0s/CVE-2019-16097

GitHub · ianxtianxt/CVE-2019-16097

GitHub · luckybool1020/CVE-2019-16097

GitHub · rockmelodies/CVE-2019-16097-batch

GitHub · theLSA/harbor-give-me-admin