GHSA-qjw6-xvrm-5f2h
Bitbucket Server Integration Plugin allows bypassing CSRF protection for any URL
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | io.jenkins.plugins:atlassian-bitbucket-server-integration | >= 2.1.0, < 4.1.4 | 4.1.4 |
Details
As written in the advisory (Markdown source, shown as plain text).
An extension point in Jenkins allows selectively disabling cross-site request forgery (CSRF) protection for specific URLs. Bitbucket Server Integration Plugin implements this extension point to support OAuth 1.0 authentication.
In Bitbucket Server Integration Plugin 2.1.0 through 4.1.3 (both inclusive) this implementation is too permissive, allowing attackers to craft URLs that would bypass the CSRF protection of any target URL.
Bitbucket Server Integration Plugin 4.1.4 restricts which URLs it disables cross-site request forgery (CSRF) protection for to the URLs that needs it.
References
External links from the advisory. They lead to third-party sites.