GHSA-phwv-crgp-9r69
Jenkins GitHub Authentication Plugin Cross-Site Request Forgery vulnerability
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | org.jenkins-ci.plugins:github-oauth | < 0.32 | 0.32 |
Details
As written in the advisory (Markdown source, shown as plain text).
Jenkins GitHub Authentication Plugin did not manage the state parameter of OAuth to prevent CSRF. This allowed an attacker to catch the redirect URL provided during the authentication process using OAuth and send it to the victim. If the victim was already connected to Jenkins, their Jenkins account would be attached to the attacker’s GitHub account.
The state parameter is now correctly managed.
References
External links from the advisory. They lead to third-party sites.