CVE-2022-25196 Open redirect vulnerability in Jenkins GitLab Authentication Plugin

Medium 5.4 Published Updated

Attackers can craft URLs to redirect users to malicious sites after login due to improper handling of the HTTP Referer header in the Jenkins GitLab Authentication Plugin.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2022-25196?

CVE-2022-25196 is a medium-severity vulnerability in Jenkins GitLab Authentication Plugin, published on 15 Feb 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Jenkins GitLab Authentication Plugin 1.13 and earlier records the HTTP Referer header as part of the URL query parameters when the authentication process starts, allowing attackers with access to Jenkins to craft a URL that will redirect users to an attacker-specified URL after logging in.

Weakness: CWE-601

Which versions are affected by CVE-2022-25196?

2 open source packages ship an affected version, including org.jenkins-ci.plugins:gitlab-oauth. It affects 1 product.

PackageAffectedFixed in
org.jenkins-ci.plugins:gitlab-oauth MavenAll versions to 1.13None
org.jenkins-ci.plugins:gitlab-oauth MavenAll versions to 1.13None

Products include Jenkins Gitlab Authentication.

How do I fix CVE-2022-25196?

No fix has been published for CVE-2022-25196 yet. Limit exposure of the affected software until one is available.

Is CVE-2022-25196 being exploited?

There is no known exploitation of CVE-2022-25196 in the wild and no public exploit code.

Sources

Also known as GHSA-mvq8-hgxh-4v2g.

Is CVE-2022-25196 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free