First published: Tue Aug 31 2021(Updated: )
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.
Credit: jenkinsci-cert@googlegroups.com jenkinsci-cert@googlegroups.com jenkinsci-cert@googlegroups.com
Affected Software | Affected Version | How to fix |
---|---|---|
Jenkins Azure Ad | >=164.v5b48baa961d2<=179.vf6841393099e | |
maven/org.jenkins-ci.plugins:azure-ad | <=179.vf6841393099e | 180.v8b1e80e6f242 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The vulnerability ID of this issue is CVE-2021-21679.
The severity rating of CVE-2021-21679 is high with a score of 8.8.
An attacker can exploit CVE-2021-21679 by crafting URLs that bypass cross-site request forgery (CSRF) protection.
Jenkins Azure AD Plugin versions 179.vf6841393099e and earlier are affected by CVE-2021-21679.
You can find more information about CVE-2021-21679 on the Openwall mailing list, Jenkins security advisory, and NIST NVD website.