GitHub Advisoryadvisory · Maven
GHSA-x77r-7m5w-pqq2 Jenkins Azure AD Plugin allows bypassing CSRF protection for any URL
HIGH
Official page ↗
- Aliases
- CVE-2021-21679
- Ecosystem
- Maven
- Packages
- org.jenkins-ci.plugins:azure-ad
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-352, CWE-693
- Reviewed
- 2022-12-15
Affected packages
• Maven org.jenkins-ci.plugins:azure-ad: < 180.v8b1e80e6f242 → fixed in 180.v8b1e80e6f242
Description
An extension point in Jenkins allows selectively disabling cross-site request forgery (CSRF) protection for specific URLs. Jenkins Azure AD Plugin implements this extension point for URLs used by a JavaScript component.
In Jenkins Azure AD Plugin 179.vf6841393099e and earlier this implementation is too permissive, allowing attackers to craft URLs that would bypass the CSRF protection of any target URL.
This vulnerability was originally introduced in Azure AD Plugin 164.v5b48baa961d2.
Azure AD Plugin 180.v8b1e80e6f242 no longer allows bypassing CSRF protection for URLs used by the JavaScript component. Instead, that component was reconfigured to pass the expected CSRF token.
Related
Alias · CVE (1)
- CVE-2021-21679 Jenkins Azure AD Plugin 179.vf6841393099e and earlier allows attackers to craft URLs that would bypass the CSRF protection of any target… vulnerability
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-21679 advisory
- https://github.com/jenkinsci/azure-ad-plugin/commit/8b1e80e6f242275127ebb177e2a755a2104b4853 web
- https://github.com/jenkinsci/azure-ad-plugin package
- https://www.jenkins.io/security/advisory/2021-08-31/#SECURITY-2470 web
- http://www.openwall.com/lists/oss-security/2021/08/31/1 web