Improper Access Control Affecting org.jenkins-ci.main:jenkins-core package, versions [,2.426.3) [2.427,2.440.1) [2.441,2.442)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Mature
    EPSS
    96.84% (100th 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-ORGJENKINSCIMAIN-6190606
  • published 28 Jan 2024
  • disclosed 24 Jan 2024
  • credit Yaniv Nizry

How to fix?

Upgrade org.jenkins-ci.main:jenkins-core to version 2.426.3, 2.440.1, 2.442 or higher.

Overview

org.jenkins-ci.main:jenkins-core is an open source automation server.

Affected versions of this package are vulnerable to Improper Access Control via the CLI command parser. An attacker can read arbitrary files on the Jenkins controller file system by supplying an '@' character followed by a file path in an argument.

Notes:

  1. Attackers with Overall/Read permission can read entire files.

  2. Attackers without Overall/Read permission can read the first few lines of files. The number of lines that can be read depends on available CLI commands.

Workaround

Disabling access to the CLI is expected to prevent exploitation completely. Doing so is strongly recommended to administrators unable to immediately update to Jenkins 2.442, LTS 2.426.3. Applying this workaround does not require a Jenkins restart. For instructions, see the documentation for this workaround.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
9.8 critical
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High
Expand this section

NVD

9.8 critical
Expand this section

Red Hat

9.8 critical