GitHub Advisory Database
GHSA-r8fj-rff6-f7h5
Jenkins Bitbucket OAuth Plugin does not restrict the redirect URL after login
Details
Jenkins Bitbucket OAuth Plugin 0.17 and earlier does not restrict the redirect URL after login.
This allows attackers to perform phishing attacks by having users go to a Jenkins URL that will forward them to a different site after successful authentication.
Bitbucket OAuth Plugin 0.18 only redirects to relative (Jenkins) URLs.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.jenkins-ci.plugins:bitbucket-oauth | All versions before 0.18 (fixed in 0.18) |