Improper Authentication Affecting org.jenkins-ci.plugins:oic-auth package, versions [,4.355.v3a_fb_fca_b_96d4)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.04% (10th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JAVA-ORGJENKINSCIPLUGINS-8160886
  • published 3 Oct 2024
  • disclosed 2 Oct 2024
  • credit James Nord

How to fix?

Upgrade org.jenkins-ci.plugins:oic-auth to version 4.355.v3a_fb_fca_b_96d4 or higher.

Overview

org.jenkins-ci.plugins:oic-auth is a Jenkins plugin which lets you login to Jenkins using your own, self-hosted or public openid connect server.

Affected versions of this package are vulnerable to Improper Authentication due to improper validation of the iss claim during the authentication process. An attacker can subvert the authentication flow and potentially gain administrator access by manipulating the issuer claim to mimic a trusted identity provider.

Note:

This is only exploitable if the new "Issuer" field is populated before updating when using the "Manual entry" configuration mode. When using "Discovery via well-known endpoint", the Issuer will be set automatically.

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
9.2 critical
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    Present
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    High
  • Integrity (VI)
    High
  • Availability (VA)
    High
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None