CVE-2021-21678
published 2021-08-31CVE-2021-21678: Jenkins SAML Plugin 2.0.7 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.81%
52.7th percentile
Jenkins SAML Plugin 2.0.7 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 | code_coverage_plugin | — | — |
| jenkins | nested_view_plugin | — | — |
| jenkins | nomad_plugin | — | — |
| jenkins | saml | 1.1.3 – 2.0.7 | — |
| jenkins | saml_plugin | — | — |
| jenkins_project | jenkins_saml_plugin | >= 1.1.3 < unspecified | unspecified |
| jenkins_project | jenkins_saml_plugin | unspecified – 2.0.7 | — |
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 SAML Plugin allows bypassing CSRF protection for any URL
osv·2022-05-24
CVE-2021-21678 [HIGH] Jenkins SAML Plugin allows bypassing CSRF protection for any URL
Jenkins SAML 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. SAML Plugin implements this extension point for the URL that users are redirected to after login.
In Jenkins SAML Plugin 2.0.7 and earlier this implementation is too permissive, allowing attackers to craft URLs that would bypass the CSRF protection of any target URL.\n\nThis vulnerability was originally introduced in Jenkins SAML Plugin 1.1.3.
Jenkins SAML Plugin 2.0.8 restricts which URLs it disables cross-site request forgery (CSRF) protection for to the one URL that needs it.
GHSA
Jenkins SAML Plugin allows bypassing CSRF protection for any URL
ghsa·2022-05-24
CVE-2021-21678 [HIGH] CWE-352 Jenkins SAML Plugin allows bypassing CSRF protection for any URL
Jenkins SAML 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. SAML Plugin implements this extension point for the URL that users are redirected to after login.
In Jenkins SAML Plugin 2.0.7 and earlier this implementation is too permissive, allowing attackers to craft URLs that would bypass the CSRF protection of any target URL.\n\nThis vulnerability was originally introduced in Jenkins SAML Plugin 1.1.3.
Jenkins SAML Plugin 2.0.8 restricts which URLs it disables cross-site request forgery (CSRF) protection for to the one URL that needs it.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2021-08-31
Published