CVE-2021-21673: Open redirect vulnerability in Jenkins CAS Plugin

Summary

24/05/2022
Yes i
Moderate
6.1

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 ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

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 →

Share this vulnerability

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.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback