Description
Harbor through 2.15.2 fails to properly restrict the q query parameter filtering on scanner registration access credentials. Project administrators can exploit fuzzy filtering on the AccessCredential column to recover the scanner adapter secret one character at a time through response row counts.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
goharbor harbor
Default version status: unaffected
0 to ≤ 2.15.2affected
References
- https://github.com/geo-chen/oss/blob/main/harbor.md ↗
- https://github.com/goharbor/harbor/blob/v2.15.1/src/pkg/scan/dao/scanner/model.go#L51 ↗
- https://github.com/goharbor/harbor/blob/v2.15.1/src/pkg/user/dao/user.go#L35-L42 ↗
- https://github.com/goharbor/harbor ↗
- https://www.vulncheck.com/advisories/harbor-through-2.15.2-scanner-credential-disclosure-via-query-parameter ↗