SSRF in Harbor webhook delivery allows ProjectAdmin to reach internal services
What fixes it
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
A wide range of Harbor versions allow SSRF via its webhook delivery component which does not properly validate web hook target addresses, allowing usage of private and link-local IP ranges. An authenticated attacker with ProjectAdmin permissions can configure a webhook policy pointing to a private internal address. When a project event fires, Harbor jobservice makes unauthenticated outbound HTTP POST requests to the target. If the target answers with an error status, the response body is written to the webhook execution log, which project members can read, potentially exposing cloud metadata or other network-restricted resources.
Text from CVE List
Affected versions 3
- Harboraffected: 2.15.0 before 2.15.3CVE List
- Harboraffected: 2.14.0 before 2.14.5CVE List
- Harboraffected: 1.7.0 before 2.13.6CVE List