CVE-2025-24398: Bitbucket Server Integration Plugin allows bypassing CSRF protection for any URL
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.
Published Jan 22, 2025
Affected packages
io.jenkins.plugins:atlassian-bitbucket-server-integration
- Ecosystem
- Maven
- Affected
- >= 2.1.0, < 4.1.4
- Fixed in
- 4.1.4
- Check
mvn dependency:tree -Dincludes=io.jenkins.plugins:atlassian-bitbucket-server-integration
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
