CVE-2021-21679
JSON

8.8high

Jenkins Azure AD Plugin allows bypassing CSRF protection for any URL

Severity
8.8high CVSS:3.1 by NVD
Exploit likelihood
0.68% (higher than 53% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
jenkins
Also known as
GHSA-x77r-7m5w-pqq2

Description

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

Product or packageVersionsReported by
Jenkins project Jenkins Azure AD Pluginfrom 164.v5b48baa961d2 before unspecified, from unspecified up to 179.vf6841393099eCVE List
org.jenkins-ci.plugins:azure-ad (Maven)before 180.v8b1e80e6f242GitHub Advisory Database
jenkins azure_adfrom 164.v5b48baa961d2 up to 179.vf6841393099eNVD

All scores

GitHub8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD6.8medium CVSS:2.0AV:N/AC:M/Au:N/C:P/I:P/A:P

Classification

What each source says

CVE List

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.

GitHub Advisory Database

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.

NVD (es)

El Plugin Azure AD de Jenkins versiones 179.vf6841393099e y anteriores, permite a atacantes diseñar URLs que podrían omitir la protección CSRF de cualquier URL de destino en Jenkins

References

Sources

SourceRecordLicence
CVE ListCVE-2021-21679 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-x77r-7m5w-pqq2 changed 2024-02-16CC-BY-4.0
NVDCVE-2021-21679 changed 2026-06-17Public domain