Palo Alto Networks’ Unit 42 researcher Aviv Sasson discovered a critical vulnerability in Harbor cloud native registry for container images.
The flaw, tracked as CVE-2019-16097, could be exploited to take control of Harbor registries with the default configuration. The vulnerability
An attacker could exploit the CVE-2019-16097 by sending a malicious request to a vulnerable machine and register a new user with admin privileges.
“The problem is that we can send a request and add the parameter “has_admin_role”.” reads the post published by the researcher.
“If we send the same request with “had_admin_role” = “True”, then the user that will be created will be an admin. It’s as simple as that.”
Once the attacker obtained admin permissions on the vulnerable system he can download all of the private projects and inspect them. The attacker could delete all of the images in the registry or replace the images with tainted ones.
“The attacker can create a new user and set it to be
The expert also published a Proof-of-concept (PoC) code that allows the creation of a new user with admin rights by sending a post request to /
The expert scanned the internet for open Harbor instances and discovered 2,500 installs, 1,300 of them are vulnerable.
Users have to update their Harbor installations immediately to address the vulnerability.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.