CVE-2021-21679
published 2021-08-31CVE-2021-21679: 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.
PriorityP338high8.8CVSS 3.1
AVNACLPRNUIRSUCHIHAH
EPSS
0.68%
48.3th percentile
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
7 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| jenkins | azure_ad | 164.v5b48baa961d2 – 179.vf6841393099e | — |
| jenkins | code_coverage_plugin | — | — |
| jenkins | nested_view_plugin | — | — |
| jenkins | nomad_plugin | — | — |
| jenkins | saml_plugin | — | — |
| jenkins_project | jenkins_azure_ad_plugin | >= 164.v5b48baa961d2 < unspecified | unspecified |
| jenkins_project | jenkins_azure_ad_plugin | unspecified – 179.vf6841393099e | — |
CVSS provenance
nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Jenkins
Jenkins Security Advisory 2021-08-31
vendor_jenkins·2021-08-31·CVSS 8.8
CVE-2021-21677 [HIGH] Jenkins Security Advisory 2021-08-31
Title: Jenkins Security Advisory 2021-08-31
Jenkins Security Advisory 2021-08-31
Jenkins Security Home
For Administrators
Overview
Terminology
Vulnerabilities and Scoring
Security Advisories
Security Issues
Advisory Schedule
Vulnerabilities in Plugins
How We Fix Security Issues
For Reporters
Reporting Vulnerabilities
Jenkins CNA
For Maintainers
Overview
Vulnerabilities in Plugins
Jenkins Security Team
About
Contributions
This advisory announces vulnerabilities in the following Jenkins deliverables:
Code Coverage
Plugin
Microsoft Entra ID (previously Azure AD)
Plugin
Nested View
Plugin
Nomad
Plugin
SAML
Plugin
Descriptions
RCE vulnerability in Code Coverage Plugin
SE
OSV
Jenkins Azure AD Plugin allows bypassing CSRF protection for any URL
osv·2022-05-24
CVE-2021-21679 [HIGH] Jenkins Azure AD Plugin allows bypassing CSRF protection for any URL
Jenkins Azure AD Plugin allows bypassing CSRF protection for any URL
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.
GHSA
Jenkins Azure AD Plugin allows bypassing CSRF protection for any URL
ghsa·2022-05-24
CVE-2021-21679 [HIGH] CWE-352 Jenkins Azure AD Plugin allows bypassing CSRF protection for any URL
Jenkins Azure AD Plugin allows bypassing CSRF protection for any URL
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.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2021-08-31
Published