8.8
CWE
693 352
Advisory Published
Advisory Published
Updated

CVE-2021-21678: CSRF

First published: Tue Aug 31 2021(Updated: )

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.

Credit: jenkinsci-cert@googlegroups.com jenkinsci-cert@googlegroups.com jenkinsci-cert@googlegroups.com

Affected SoftwareAffected VersionHow to fix
Jenkins Saml>=1.1.3<=2.0.7
maven/org.jenkins-ci.plugins:saml<=2.0.7
2.0.8

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2021-21678?

    CVE-2021-21678 is a vulnerability in Jenkins SAML Plugin 2.0.7 and earlier that allows attackers to bypass CSRF protection.

  • How can an attacker exploit CVE-2021-21678?

    An attacker can exploit CVE-2021-21678 by crafting URLs that bypass CSRF protection.

  • What is the severity of CVE-2021-21678?

    CVE-2021-21678 has a severity rating of 8.8 (high).

  • How can I fix CVE-2021-21678?

    To fix CVE-2021-21678, upgrade Jenkins SAML Plugin to version 2.0.8 or later.

  • Where can I find more information about CVE-2021-21678?

    You can find more information about CVE-2021-21678 at the following references: [1] [2] [3].

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203