CVE-2021-21673: Open redirect vulnerability in Jenkins CAS Plugin
Summary
CVE-2021-21673: Open redirect vulnerability in Jenkins CAS Plugin. Affects org.jenkins-ci.plugins:cas-plugin versions < 1.6.1. Fixed in 1.6.1. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The Jenkins CAS Plugin is a Maven package (org.jenkins-ci.plugins:cas-plugin) that provides integration with the Central Authentication Service (CAS) for user authentication in Jenkins. It allows users to log in to Jenkins using their CAS credentials. CAS Plugin versions 1.6.0 and earlier are affected by an open redirect vulnerability.
Vulnerability Detail
The open redirect vulnerability in CAS Plugin allows attackers to perform phishing attacks by tricking users into visiting a Jenkins URL that will redirect them to a different site after successful authentication. This vulnerability occurs because CAS Plugin 1.6.0 and earlier incorrectly determine that a redirect URL after login is legitimately pointing to Jenkins. This can lead to users unknowingly providing their credentials to malicious sites.
How To Fix
Minimum fixed version
1.6.1
This is the first release that contains the fix.
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no known workaround for this vulnerability. It is advised to upgrade to the fixed version of CAS Plugin.
Conclusion
The open redirect vulnerability in Jenkins CAS Plugin (CVE-2021-21673) allows attackers to conduct phishing attacks by redirecting users to malicious sites after successful authentication. To mitigate this vulnerability, it is crucial to upgrade to CAS Plugin version 1.6.1 or later. For further assistance and support in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for org.jenkins-ci.plugins:cas-plugin →
FAQ
This vulnerability allows attackers to conduct phishing attacks and trick users into providing their credentials to malicious sites.
CAS Plugin versions 1.6.0 and earlier are affected.
You can use the Vulert Playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Simply provide your pom.xml file and Vulert will analyze it in real-time.
Yes, upgrading to CAS Plugin version 1.6.1 or later will fix this vulnerability.
No, there are no known workarounds for this vulnerability. Upgrading to the fixed version is the recommended solution.
Related vulnerabilities
Recent vulnerabilities recorded for org.jenkins-ci.plugins:cas-plugin.