GitHub Advisoryadvisory · Maven
GHSA-2vvr-5757-qp87 Open redirect vulnerability in Jenkins CAS Plugin
MEDIUM
Official page ↗
- Aliases
- CVE-2021-21673
- Ecosystem
- Maven
- Packages
- org.jenkins-ci.plugins:cas-plugin
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-601
- Reviewed
- 2022-12-16
Affected packages
• Maven org.jenkins-ci.plugins:cas-plugin: < 1.6.1 → fixed in 1.6.1
Description
Jenkins CAS Plugin 1.6.0 and earlier improperly determines that a redirect URL after login is legitimately pointing to Jenkins.
This allows attackers to perform phishing attacks by having users go to a Jenkins URL that will forward them to a different site after successful authentication.
Jenkins CAS Plugin 1.6.1 only redirects to relative (Jenkins) URLs.
Related
Alias · CVE (1)
- CVE-2021-21673 Jenkins CAS Plugin 1.6.0 and earlier improperly determines that a redirect URL after login is legitimately pointing to Jenkins, allowing… vulnerability
Weakness · CWE (1)
- CWE-601 URL Redirection to Untrusted Site weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-21673 advisory
- https://github.com/jenkinsci/cas-plugin/commit/8ac536a953156160dbabb61bdb3b9bc75c3d0ef9 web
- https://github.com/jenkinsci/cas-plugin package
- https://www.jenkins.io/security/advisory/2021-06-30/#SECURITY-2387 web
- http://www.openwall.com/lists/oss-security/2021/06/30/1 web