{"id":"CVE-2019-16097","published":"2019-09-08T15:22:49Z","modified":"2024-08-05T01:03:32Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.22443,"percentile":0.97752,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/goharbor/harbor/commit/b6db8a8a106259ec9a2c48be8a380cb3b37cf517","tags":["x_refsource_MISC"]},{"url":"https://github.com/goharbor/harbor/compare/v1.8.2...v1.9.0-rc1","tags":["x_refsource_MISC"]},{"url":"https://unit42.paloaltonetworks.com/critical-vulnerability-in-harbor-enables-privilege-escalation-from-zero-to-admin-cve-2019-16097/","tags":["x_refsource_MISC"]},{"url":"https://github.com/goharbor/harbor/releases/tag/v1.8.3","tags":["x_refsource_MISC"]},{"url":"https://github.com/goharbor/harbor/releases/tag/v1.7.6","tags":["x_refsource_MISC"]},{"url":"http://www.vmware.com/security/advisories/VMSA-2019-0015.html","tags":["x_refsource_CONFIRM"]}],"priority":{"score":24.6,"factors":[{"name":"EPSS percentile","points":19.55},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"pocGithub":{"count":5,"skipped":1,"earliest":"2019-09-19","earliestUrl":"https://github.com/evilAdan0s/CVE-2019-16097","repos":[{"name":"evilAdan0s/CVE-2019-16097","url":"https://github.com/evilAdan0s/CVE-2019-16097","stars":23,"created":"2019-09-19"},{"name":"rockmelodies/CVE-2019-16097-batch","url":"https://github.com/rockmelodies/CVE-2019-16097-batch","stars":5,"created":"2019-09-20"},{"name":"luckybool1020/CVE-2019-16097","url":"https://github.com/luckybool1020/CVE-2019-16097","stars":2,"created":"2019-11-14"},{"name":"dacade/cve-2019-16097","url":"https://github.com/dacade/cve-2019-16097","stars":1,"created":"2019-09-25"},{"name":"theLSA/harbor-give-me-admin","url":"https://github.com/theLSA/harbor-give-me-admin","stars":0,"created":"2019-10-02"}]},"nuclei":[{"id":"CVE-2019-16097","name":"Harbor <=1.82.0 - Privilege Escalation","severity":"medium","path":"http/cves/2019/CVE-2019-16097.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2019/CVE-2019-16097.yaml"}],"first":{"date":"2019-09-19","source":"PoC-in-GitHub","url":"https://github.com/evilAdan0s/CVE-2019-16097"},"provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/goharbor/harbor","vulnerableRanges":[">=1.7.0, <1.9.0-rc1"],"patched":["1.9.0-rc1"],"from":["GHSA-9wvh-ff5f-xjpj","GO-2022-0818"],"provenance":"source"}],"summary":{"text":"core/api/user.go in Harbor versions 1.7.0 through 1.8.2 contains a flaw in the POST /api/users API that allows privilege escalation to administrator accounts. An attacker who is a non-admin user can use this flaw to create admin accounts, but only when Harbor uses its database as the authentication backend and self-registration is enabled.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:42:41Z"},"euvd":{"id":"EUVD-2022-0946","exploited":false,"provenance":"source"}}