8.8high
Jenkins Azure AD Plugin allows bypassing CSRF protection for any URL
- Severity
- 8.8high CVSS:3.1 by NVD
- Exploit likelihood
- 0.68% (higher than 53% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- jenkins
- Also known as
- GHSA-x77r-7m5w-pqq2
Description
Jenkins Azure AD Plugin 179.vf6841393099e and earlier allows attackers to craft URLs that would bypass the CSRF protection of any target URL in Jenkins.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Jenkins project Jenkins Azure AD Plugin | from 164.v5b48baa961d2 before unspecified, from unspecified up to 179.vf6841393099e | CVE List |
| org.jenkins-ci.plugins:azure-ad (Maven) | before 180.v8b1e80e6f242 | GitHub Advisory Database |
| jenkins azure_ad | from 164.v5b48baa961d2 up to 179.vf6841393099e | NVD |
All scores
| GitHub | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 6.8medium CVSS:2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
Jenkins Azure AD Plugin 179.vf6841393099e and earlier allows attackers to craft URLs that would bypass the CSRF protection of any target URL in Jenkins.
GitHub Advisory Database
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.
NVD (es)
El Plugin Azure AD de Jenkins versiones 179.vf6841393099e y anteriores, permite a atacantes diseñar URLs que podrían omitir la protección CSRF de cualquier URL de destino en Jenkins
References
| https://www.jenkins.io/security/advisory/2021-08-31/#SECURITY-2470 | vendor-advisory, web | |
| http://www.openwall.com/lists/oss-security/2021/08/31/1 | mailing-list, third-party-advisory, web | |
| 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 | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-21679 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-x77r-7m5w-pqq2 changed 2024-02-16 | CC-BY-4.0 |
| NVD | CVE-2021-21679 changed 2026-06-17 | Public domain |