CVE-2021-21679: CSRF

Published Aug 31, 2021
·
Updated

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.

Other sources

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 Software

2 affected componentsFixes available
maven/org.jenkins-ci.plugins:azure-ad<=179.vf6841393099e
180.v8b1e80e6f242
Jenkins Azure Ad Jenkins>=164.v5b48baa961d2<=179.vf6841393099e

Event History

Aug 31, 2021
CVE Published
via MITRE·01:50 PM
Data Sourced
via MITRE·01:50 PM
Description
May 24, 2022
Advisory Published
07:12 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID of this issue?

The vulnerability ID of this issue is CVE-2021-21679.

2

What is the severity rating of CVE-2021-21679?

The severity rating of CVE-2021-21679 is high with a score of 8.8.

3

How can an attacker exploit CVE-2021-21679?

An attacker can exploit CVE-2021-21679 by crafting URLs that bypass cross-site request forgery (CSRF) protection.

4

Which software is affected by CVE-2021-21679?

Jenkins Azure AD Plugin versions 179.vf6841393099e and earlier are affected by CVE-2021-21679.

5

Where can I find more information about CVE-2021-21679?

You can find more information about CVE-2021-21679 on the Openwall mailing list, Jenkins security advisory, and NIST NVD website.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203