20 matches found
CVE-2024-23897
Jenkins ファイル読み取り脆弱性 - CVE-2024-23897 CVE-2024-23897 は、認証されていない攻撃者に Jenkins コントローラのファイルシステム上の任意のファイルを読み取り可能にする、Jenkins の重大な脆弱性です。この欠陥は、args4j ライブラリにおけるコマンド引数の不適切な処理に起因し、特にコマンドライン操作で @ 文字の後にファイルパスが続く場合に、許可されていないファイル内容の漏えいにつながる可能性があります。...
cve-2024-23897-jenkins_lfi_reproduction
CVE-2024-23897 — Jenkins CLI 任意文件读取漏洞 CVSS 9.8(严重) — 已在野外被积极利用 概述 CVE-2024-23897 是 Jenkins 命令行界面(CLI)中的一个严重任意文件读取漏洞。Jenkins CLI 使用 args4j 库来解析命令行参数。该库会将 @ 字符后跟文件路径(@/path/to/file)展开为读取该文件的内容并将其作为参数注入。未经身份验证的攻击者可以利用此行为读取 Jenkins 控制器文件系统上的任意文件,而无需任何身份验证。 结合提取 credentials.xml、secrets 或 master.key...
CVE-2024-23897
CVE-2024-23897 Jenkins CVE-2024-23897: 任意ファイル読み取り脆弱性によりRCEに至る可能性 Jenkinsは、CLIコマンド処理時にJenkinsコントローラ上でコマンド引数やオプションを解析するためにargs4jライブラリを使用しています。このコマンドパーサーには、引数内の@文字に続くファイルパスをそのファイルの内容で置き換える機能(expandAtFiles)があります。この機能はデフォルトで有効になっており、Jenkins 2.441以前およびLTS 2.426.2以前では無効化されていません。...
CVE-2024-23897
CVE-2024-23897 This repository presents a proof-of-concept of CVE-2024-23897 Discovered by sonarsource CVE-2024-23897 | File read in jenkins Disclamer This code is a proof of concept of the vulnerability, I'm not pushing anyone to use it on confluence instances they don't own. This tool has been...
CVE-2024-23897
CVE-2024-23897 Jenkins CI 经过身份验证的任意文件读取通过 CLI 导致远程代码执行 RCE Jenkins 是一款用 Java 编程语言编写的自包含开源持续集成/持续交付和部署 CI/CD 自动化软件 DevOps 工具。它用于实现称为流水线的 CI/CD 工作流。 Jenkins 有一个内置的命令行界面 CLI,用于从脚本或 Shell 环境访问 Jenkins。Jenkins 在处理 CLI 命令时,使用 Args4j 库解析 Jenkins 控制器上的命令参数和选项。此命令解析器具有一项功能,可将参数中 @...
CVE-2024-23897
Jenkins 有一个内置的命令行界面(CLI),用于从脚本或 shell 环境访问 Jenkins。 Jenkins 使用 args4j 库来解析 Jenkins 控制器在处理 CLI 命令时的命令参数和选项。该命令解析器有一个功能,可以将参数中 @ 字符后跟文件路径的内容替换为该文件的内容(expandAtFiles)。此功能默认启用,而 Jenkins 2.441 及更早版本、LTS 2.426.2 及更早版本未禁用它。 这使得攻击者能够使用 Jenkins 控制器进程的默认字符编码读取 Jenkins 控制器文件系统上的任意文件。 拥有 Overall/Read...
cve-2024-23897-jenkins-poc
CVE-2024-23897: Jenkins 任意ファイル読み取り args4j @-Syntax CVE-2024-23897 の自己完結型かつ完全にローカルな再現です。Jenkins CLI における重大な CVSS 3.1 基本スコア 9.8 任意ファイル読み取りです。 このプロジェクトは、Jenkins のマイナーバージョンのみが異なる 2 つの Docker スタックを起動し、両方に対して同じ概念実証を実行し、パッチ未適用のコントローラでは脆弱性が発動し、パッチ適用済みでは沈黙することを示します。 すべては単一の Python プログラム poc.py...
poc-cve-2024-23897
poc-cve-2024-23897 このコードは、CVE-2024-23897の概念実証を記述する私の試みです。脆弱なargs4jモジュールを介して、攻撃対象マシン上でRCEを実行できます。 使用方法: go run poc.go http://127.0.0.1:8888/ /etc/passwd...
Exploit for Path Traversal in Jenkins
CVE-2024-23897 — Jenkins CLI Arbitrary File Read Vulnerability...
Fedora: Security Advisory for args4j (FEDORA-2024-129d8ca6fc)
The remote host is missing an update for the SPDX-FileCopyrightText: 2024 Greenbone AG Some text descriptions might be excerpted from a referenced sources, and are Copyright C by the respective right holders. SPDX-License-Identifier: GPL-2.0-only ifdescription...
jenkins: Arbitrary file read vulnerability through the CLI can lead to RCE
A flaw was found in Jenkins, which uses the args4j library to parse command arguments and options on the Jenkins controller when processing CLI commands. This command parser has a feature that replaces the "@" character followed by a file path in an argument with the file’s contents expandAtFiles...
jenkins: Arbitrary file read vulnerability through the CLI can lead to RCE
A flaw was found in Jenkins, which uses the args4j library to parse command arguments and options on the Jenkins controller when processing CLI commands. This command parser has a feature that replaces the "@" character followed by a file path in an argument with the file’s contents expandAtFiles...
The vulnerability of the args4j plugin for Jenkins’ Git server allows a hacker to read the first two lines of arbitrary files.
The vulnerability of the args4j library plugin for Jenkins’ Git server plugin is related to an incorrect restriction on the path name of the restricted directory. Exploiting this vulnerability could allow a malicious actor to read the first two lines of arbitrary files...
Exploit for Path Traversal in Jenkins
CVE-2024-23897 This repository presents a proof-of-concept of...
Exploit for Path Traversal in Jenkins
poc-cve-2024-23897 this code is my attempt to...
CVE-2024-23897
A flaw was found in Jenkins, which uses the args4j library to parse command arguments and options on the Jenkins controller when processing CLI commands. This command parser has a feature that replaces the "@" character followed by a file path in an argument with the file’s contents expandAtFiles...
GHSA-VPH5-2Q33-7R9H Arbitrary file read vulnerability in Git server Plugin can lead to RCE
Jenkins Git server Plugin uses the args4j library to parse command arguments and options on the Jenkins controller when processing Git commands received via SSH. This command parser has a feature that replaces an @ character followed by a file path in an argument with the file’s contents...
Arbitrary file read vulnerability through the Jenkins CLI can lead to RCE
Jenkins has a built-in command line interface CLI to access Jenkins from a script or shell environment. Jenkins uses the args4j library to parse command arguments and options on the Jenkins controller when processing CLI commands. This command parser has a feature that replaces an @ character...
Jenkins cli Ampersand Replacement Arbitrary File Read
This module utilizes the Jenkins cli protocol to run the help command. The cli is accessible with read-only permissions by default, which are all thats required. Jenkins cli utilizes args4j's parseArgument, which calls expandAtFiles to replace any @ with the contents of a file. We are then able t...
PT-2023-8445
Name of the Vulnerable Software and Affected Versions: Jenkins versions 2.441 and earlier, including LTS 2.426.2 and earlier. Description: Jenkins is vulnerable to an arbitrary file read vulnerability through its command line interface CLI. This flaw stems from the args4j library's expandAtFiles...