Possible ORM Leak Vulnerability in the Harbor
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/goharbor/harbor Go |
|
|
| Product | Affected | Fixed in |
|---|---|---|
| github.com/goharbor/harbor Go |
|
|
2.4.0-rc1.0.20250331071157-dce7d9f5cffb2.12.4+incompatible2.13.1+incompatibleCNCF Harbor 2.13.x before 2.13.1 and 2.12.x before 2.12.4 allows information disclosure by administrators who can exploit an ORM Leak present in the /api/v2.0/users endpoint to leak users' password hash and salt values. The q URL parameter allows a user to filter users by any column, and filter password=~ could be abused to leak out a user's password hash character by character. An attacker with administrator access could exploit this to leak highly sensitive information stored in the Harbor database. All endpoints that support the q URL parameter are vulnerable to this ORM leak attack.
From the CVE record · mitre
Harbor’s /api/v2.0/users endpoint and other endpoints supporting the q URL parameter have an ORM leak. An attacker with administrator access can use filtering to disclose users’ password hashes and salts character by character.
Teams running CNCF Harbor 2.12.x before 2.12.4 or 2.13.x before 2.13.1, or the affected Go package versions, should check their deployments.