Cross-site Request Forgery (CSRF) Affecting org.jenkins-ci.plugins:bitbucket-oauth package, versions [,0.13)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.Test your applications
- Snyk ID SNYK-JAVA-ORGJENKINSCIPLUGINS-3248497
- published 26 Jan 2023
- disclosed 26 Jan 2023
- credit Kevin Guerroudj, CloudBees, Inc.
How to fix?
org.jenkins-ci.plugins:bitbucket-oauth to version 0.13 or higher.
org.jenkins-ci.plugins:bitbucket-oauth is a Jenkins Plugin that supports authentication via Bitbucket OAuth.
Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF). It does not implement a state parameter in its OAuth flow, a unique and non-guessable value associated with each authentication request. It allows attackers to trick users into logging in to the attacker’s account.