CVE-2022-46683: Jenkins Google Login Plugin Open Redirect vulnerability
Summary
CVE-2022-46683: Jenkins Google Login Plugin Open Redirect vulnerability. Affects org.jenkins-ci.plugins:google-login versions >= 1.4, < 1.7. Fixed in 1.7. 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 Google Login Plugin is a Maven package (org.jenkins-ci.plugins:google-login) that provides the functionality to allow users to log in to Jenkins using their Google accounts. It integrates with the Google OAuth 2.0 authentication system to authenticate users and grant them access to Jenkins.
Vulnerability Detail
The Jenkins Google Login Plugin versions 1.4 through 1.6 (inclusive) have an open redirect vulnerability. This vulnerability occurs when the plugin fails to properly validate the redirect URL after login, incorrectly assuming that it points to Jenkins. As a result, an attacker can craft a malicious redirect URL that leads users to a different website or page, potentially tricking them into disclosing sensitive information or performing unintended actions.
How To Fix
Minimum fixed version
1.7
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 recommended to upgrade to the fixed version of the plugin.
Conclusion
The Jenkins Google Login Plugin versions 1.4 through 1.6 have an open redirect vulnerability that can be exploited by attackers. Users should upgrade to version 1.7 or later to fix this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for org.jenkins-ci.plugins:google-login →
FAQ
This vulnerability can be exploited by an attacker to redirect users to malicious websites or pages, potentially leading to phishing attacks, information disclosure, or unintended actions.
No, only versions 1.4 through 1.6 (inclusive) of the plugin are affected. Version 1.7 and later have fixed this vulnerability.
No, this vulnerability does not allow for authentication bypass. It only affects the validation of redirect URLs after login.
There is no known public exploit for this vulnerability at the time of this report.
You can use Vulert's playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, using just the pom.xml file.
Related vulnerabilities
Recent vulnerabilities recorded for org.jenkins-ci.plugins:google-login.