CVE-2021-21678 Jenkins SAML Plugin allows bypassing CSRF protection for any URL
Attackers can craft URLs to bypass CSRF protection in Jenkins via the SAML Plugin, potentially allowing unauthorized actions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2021-21678?
CVE-2021-21678 is a high-severity vulnerability in Jenkins SAML Plugin, published on 31 Aug 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-352
Which versions are affected by CVE-2021-21678?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:saml. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:saml Maven | All versions | 2.0.8 |
org.jenkins-ci.plugins:saml Maven | All versions | 2.0.8 |
Products include Jenkins Saml.
How do I fix CVE-2021-21678?
Upgrade org.jenkins-ci.plugins:saml to 2.0.8 or later.
Is CVE-2021-21678 being exploited?
There is no known exploitation of CVE-2021-21678 in the wild and no public exploit code.
Other vulnerabilities in Jenkins SAML Plugin
Sources
Also known as GHSA-r5w3-pfq8-3r82.