{"id":"CVE-2019-16097","state":"PUBLISHED","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 API, when Harbor is setup with DB as authentication backend a","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.","publishedAt":"2019-09-08T15:22:49.000Z","updatedAt":"2024-08-05T01:03:32.654Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://github.com/goharbor/harbor/commit/b6db8a8a106259ec9a2c48be8a380cb3b37cf517","https://github.com/goharbor/harbor/compare/v1.8.2...v1.9.0-rc1","https://unit42.paloaltonetworks.com/critical-vulnerability-in-harbor-enables-privilege-escalation-from-zero-to-admin-cve-2019-16097/","https://github.com/goharbor/harbor/releases/tag/v1.8.3","https://github.com/goharbor/harbor/releases/tag/v1.7.6","http://www.vmware.com/security/advisories/VMSA-2019-0015.html"],"weaknesses":[],"ingestedAt":"2026-10-29T19:45:36.262Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2019/16xxx/CVE-2019-16097.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2019-16097","state":"PUBLISHED","datePublished":"2019-09-08T15:22:49.000Z","dateUpdated":"2024-08-05T01:03:32.654Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2019-09-08T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"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"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2019-09-24T17:06:10.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"source":{"discovery":"INTERNAL"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2019-16097","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/goharbor/harbor/commit/b6db8a8a106259ec9a2c48be8a380cb3b37cf517","refsource":"MISC","url":"https://github.com/goharbor/harbor/commit/b6db8a8a106259ec9a2c48be8a380cb3b37cf517"},{"name":"https://github.com/goharbor/harbor/compare/v1.8.2...v1.9.0-rc1","refsource":"MISC","url":"https://github.com/goharbor/harbor/compare/v1.8.2...v1.9.0-rc1"},{"name":"https://unit42.paloaltonetworks.com/critical-vulnerability-in-harbor-enables-privilege-escalation-from-zero-to-admin-cve-2019-16097/","refsource":"MISC","url":"https://unit42.paloaltonetworks.com/critical-vulnerability-in-harbor-enables-privilege-escalation-from-zero-to-admin-cve-2019-16097/"},{"name":"https://github.com/goharbor/harbor/releases/tag/v1.8.3","refsource":"MISC","url":"https://github.com/goharbor/harbor/releases/tag/v1.8.3"},{"name":"https://github.com/goharbor/harbor/releases/tag/v1.7.6","refsource":"MISC","url":"https://github.com/goharbor/harbor/releases/tag/v1.7.6"},{"name":"http://www.vmware.com/security/advisories/VMSA-2019-0015.html","refsource":"CONFIRM","url":"http://www.vmware.com/security/advisories/VMSA-2019-0015.html"}]},"source":{"discovery":"INTERNAL"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/goharbor/harbor/commit/b6db8a8a106259ec9a2c48be8a380cb3b37cf517","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/goharbor/harbor/compare/v1.8.2...v1.9.0-rc1","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://unit42.paloaltonetworks.com/critical-vulnerability-in-harbor-enables-privilege-escalation-from-zero-to-admin-cve-2019-16097/","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/goharbor/harbor/releases/tag/v1.8.3","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/goharbor/harbor/releases/tag/v1.7.6","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.vmware.com/security/advisories/VMSA-2019-0015.html","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T01:03:32.654Z"}}]}}}