Open Redirect in Harbor <=v2.8.4, <=v2.9.2, and <=v2.10.0 may redirect a user to a malicious site.
euvd · EUVD-2024-1926 · Published
No access to your tenant or devices. Every item links to its source. What this means
Open Redirect in Harbor <=v2.8.4, <=v2.9.2, and <=v2.10.0 may redirect a user to a malicious site.
Read the publisher's advisoryOpen Redirect in Harbor <=v2.8.4, <=v2.9.2, and <=v2.10.0 may redirect a user to a malicious site.
Read the publisher's advisoryOpen Redirect in Harbor <=v2.8.4, <=v2.9.2, and <=v2.10.0 may redirect a user to a malicious site.
Read the publisher's advisory### Description Under OIDC authentication mode, there is a redirect_url parameter exposed in the URL which is used to redirect the current user to the defined location after the successful OIDC login, This redirect_url can be an ambiguous URL and can be used to embed a phishing URL. For example: if a user clicks the URL with a malicious redirect_url: ``` https://<harbor_hostnmae>/c/oidc/login?redirect_url=https://<redirect_domain> ``` It might redirect the current user without their knowledge to a malicious site, posing a potential risk. To avoid this issue, the redirect_url should be checked if it is a local path when reading it from the original request URL. ``` //src/core/controllers/oidc.go ... redirectURL := oc.Ctx.Request.URL.Query().Get("redirect_url") if !utils.IsLocalPath(redirectURL) { log.Errorf("invalid redirect url: %v", redirectURL) oc.SendBadRequestError(fmt.Errorf("cannot redirect to other site")) return } if err := oc.SetSession(redirectURLKey, redirectURL); err != nil { ... ``` ### Impact When Harbor is configured with OIDC authentication and users log in via a link outside the Harbor server, it might be vulnerable to an open redirect attack. This attack only involves the OIDC Harbor user, if the current Harbor instance is not configured with OIDC auth, the redirect_url doesn't exist and the Harbor instance is not vulnerable to the open redirect attack. The following versions of Harbor are involved: <=Harbor 2.8.4, <=Harbor 2.9.2, <= Harbor 2.10.0 ### Patches Harbor 2.8.5, Harbor 2.9.3, Harbor 2.10.1 ### Workarounds When the Harbor is configured with OIDC authentication, warn the user not to log into the Harbor through external links. ### References N/A ### Credit Thanks Arnaud Cordier ([email protected])
Read the publisher's advisoryOpen Redirect URL in Harbor in github.com/goharbor/harbor
Read the publisher's advisoryCISA KEV lists vulnerabilities known to be exploited. FIRST EPSS estimates the likelihood of exploitation in the next 30 days. An unavailable score does not mean zero risk.
This view includes predictions for CVE identifiers explicitly listed in public NuGet advisories. Microsoft release pages have their own prediction coverage. Check source status for the scope and latest checks.
No exploitation or prediction data is available here for these CVEs. This does not mean they are safe or unlikely to be exploited.
Compare earlier KEV listings and EPSS scores. Advisory wording and affected versions have a separate history.
A prediction change is reported when EPSS rises from below 10% to 10% or higher. Every daily score change from the last 30 days stays in this history. Before that, it keeps KEV changes and moves between EPSS bands (0.1%, 1%, 5%, 10%, 20%, 50% and 90%).
See how the publisher's advisory changed over time. Each link opens the version saved at that time. The publisher's update date can differ from the date shown here.
Each link identifies one complete publisher record. History can include advisories that previously shared an identifier; an identifier removed by a publisher no longer establishes a current relationship. A historical link shows only that record and earlier saved versions. Failed checks and unchanged reads do not create new versions.
euvd · EUVD-2024-1926 · Published
euvd · EUVD-2024-1926 · Published
euvd · EUVD-2024-1926 · Published
euvd · EUVD-2024-1926 · Published
euvd · EUVD-2024-1926 · Published
euvd · EUVD-2024-1926 · Published
euvd · EUVD-2024-1926 · Published
euvd · EUVD-2024-1926 · Published
euvd · EUVD-2024-1926 · Published
euvd · EUVD-2024-1926 · Published
euvd · EUVD-2024-1926 · Published
euvd · EUVD-2024-1926 · Published
euvd · EUVD-2024-1926 · Published
euvd · EUVD-2024-1926 · Published
euvd · EUVD-2024-1926 · Published
nvd · CVE-2024-22244 · Published
osv · GO-2024-2915 · Published