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. Learn more

Threat Intelligence

Exploit Maturity
Mature
EPSS
97.3% (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 Learn

Learn about Improper Access Control vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGJENKINSCIMAIN-6190606
  • published28 Jan 2024
  • disclosed24 Jan 2024
  • creditYaniv Nizry

Introduced: 24 Jan 2024

CVE-2024-23897  (opens in a new tab)
CWE-284  (opens in a new tab)

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