llamaCVEVulnerability Intelligence
/
Jenkins

CVE-2024-23897

Jenkins arbitrary file read in CLI command parser

Unauthenticated attackers can read arbitrary files from the server, potentially exposing credentials.

CISA KEV · explotación activaCrítica · en CISA KEV, CVSS alto en tecnología listada, EPSS ≥ 10 %Explotación activaParche disponiblesecurity flaw
Descargar PNG JSON
CVSS 3.1
9.8
Crítica
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Fuente: CISA-ADP
ExplotaciónActivaEn CISA KEV desde 19 ago 2024
Exploits públicos544 fuentes · 1 confirmado en GitHub
Parche3 versionesPrimer parche a 20 d de la divulgación
Exposición1.029 dDesde la divulgación, 24 ene 2024, 12:52 p. m.
EPSS ≥ 10 %22 oct 2026Fecha en que la probabilidad de explotación superó el umbral
Decisión SSVCActuar
Parchear de inmediato
Explotación activa, automatizable e impacto técnico total. Plazo KEV: 9 sept 2024.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC
Modificada
Explotación
Exploit-DB
CISA KEV
Umbral EPSS
Exploit en GitHub
Remediación
Parche 2.442
Parche 2.440.1
Plazo KEV
Monitoreo
Detectada
Fuente: Exploit-DB +3
Verificada
24 ene 24
21 feb 24
19 ago 24
21 oct 25
12 nov 26
19 nov 26
24 ene 24
8 oct 24
22 jun 25
7 mar 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2024-23897 divulgada · CVSS 9.8 (CISA-ADP)
Remediación Parche 2.442 org.jenkins-ci.main:jenkins-core · 20 d desde divulgación
Remediación Parche 2.440.1 org.jenkins-ci.main:jenkins-core · 28 d desde divulgación
Explotación Exploit-DB 1 exploit público
Explotación CISA KEV Agregada al catálogo de vulnerabilidades explotadas
Divulgación Evaluación SSVC CISA-ADP · explotación activa
Remediación Plazo KEV Fecha límite de remediación para agencias federales (EE. UU.)
Divulgación Modificada Última actualización del registro
Explotación Umbral EPSS La probabilidad de explotación supera el 10 %
Monitoreo Detectada Ingresó al índice
Explotación Exploit en GitHub itnsapurbalingga/POC-CVE-2024-23897
Monitoreo Fuente: Exploit-DB Registro visto por primera vez en Exploit-DB
Monitoreo Fuente: Metasploit Registro visto por primera vez en Metasploit
Monitoreo Fuente: Nuclei templates Registro visto por primera vez en Nuclei templates
Monitoreo Fuente: PoC-in-GitHub Registro visto por primera vez en PoC-in-GitHub
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 12 nov 2026

Jenkins, the automation server, has a flaw in its command-line interface that lets an attacker read files on the Jenkins controller, and because secrets in those files can lead to remote code execution, they can potentially take over the server. It can be reached remotely over the network without logging in (without a login only the first few lines of a file are exposed), public exploit code including a Metasploit module exists, and attacks are happening.

Affects Jenkins 2.441 and earlier and LTS 2.426.2 and earlier, where the CLI command parser's @-file expansion stays enabled. Fixed in 2.442, 2.440.1 and 2.426.3.

¿Qué significa?Jenkins' CLI command parser has a feature that is on by default and was not disabled. It lets attackers read arbitrary files on the Jenkins controller's file system. Without authentication only the first few lines can be read; with Overall/Read permission entire files can be read. Reading secrets can lead to remote code execution.
¿Quién está afectado?Jenkins core 2.441 or earlier, and LTS 2.426.2 or earlier, with the CLI parser's @-file expansion left enabled. To check, compare the installed Jenkins version with these numbers.
¿Qué hacer?Upgrade to a fixed Jenkins version: 2.442 on the weekly line, 2.440.1 or 2.426.3 on the LTS lines. The advisory facts given here name no workaround.
Descripción original del registro

Jenkins 2.441 and earlier, LTS 2.426.2 and earlier does not disable a feature of its CLI command parser that replaces an '@' character followed by a file path in an argument with the file's contents, allowing unauthenticated attackers to read arbitrary files on the Jenkins controller file system.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Jenkins core 2.441 or earlier, or LTS 2.426.2 or earlier, with the CLI command parser's @-file expansion left enabled“This feature is enabled by default and Jenkins 2.441 and earlier, LTS 2.426.2 and earlier does not disable it.”
02
Reading entire files requires Overall/Read permission; without it only the first few lines can be read“Attackers with Overall/Read permission can read entire files.”
¿Quién debe revisar?Teams running Jenkins core 2.441 or earlier, or LTS 2.426.2 or earlier, including Jenkins controllers on the Docker image, native packages or java -jar jenkins.war.
No protegeSetting hudson.cli.CLICommand.allowAtSyntax to true re-enables the feature and is strongly discouraged on networks with non-admin users.
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CISA-ADP
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
jenkins< 2.452.1
Jenkins · org.jenkins-ci.main:jenkins-core≥ 1.606 < 2.426.3
Jenkins · org.jenkins-ci.main:jenkins-core≥ 2.427 < 2.440.1
Jenkins · org.jenkins-ci.main:jenkins-core≥ 2.441 < 2.442
1.606
2.426.3
2.427
2.440.1
2.441
2.442
2.452.1
2.590
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
mavenorg.jenkins-ci.main:jenkins-core
Corregida 2.440.1, 2.442 28 d · 20 d 2.590 no afectada
Versiones corregidas2.426.32.440.12.442
Explotación

Arsenal público

Exploit-DB
EDB-51993
1
Metasploit
modules/auxiliary/gather/jenkins_cli_ampersand_arbitrary_file_read.rb
1
Nuclei
javascript/cves/2024/CVE-2024-23897.yaml
1
PoC en GitHub
10T4/PoC-Fix-jenkins-rce_CVE-2024-23897 · AbraXa5/Jenkins-CVE-2024-23897 · Alexandertanay/jenkins-cve-2024-23897-lab · Ap0dexMe0/CVE-2024-23897 · B4CK4TT4CK/CVE-2024-23897 · CyberCTF/vulhub-jenkins-cve-2024-23897 …
51
Ver los 51 repositorios de GitHub (1 con exploit confirmado)
10T4/PoC-Fix-jenkins-rce_CVE-2024-23897
AbraXa5/Jenkins-CVE-2024-23897
Alexandertanay/jenkins-cve-2024-23897-lab
Ap0dexMe0/CVE-2024-23897
B4CK4TT4CK/CVE-2024-23897
CyberCTF/vulhub-jenkins-cve-2024-23897
D1se0/CVE-2024-23897-Vulnerabilidad-Jenkins
Dungsocool/CVE-2024-23897
Fineken/Jenkins-CVE-2024-23897-Lab
GraySignal/CVE-2024-23897-Jenkins-Arbitrary-Read-File-Vulnerability
JAthulya/CVE-2024-23897
Maalfer/CVE-2024-23897-exploit
MachiavelliII/CVE-2024-23897
Nebian/CVE-2024-23897
P4x1s/CVE-2024-23897
Surko888/Surko-Exploit-Jenkins-CVE-2024-23897
Vozec/CVE-2024-23897
WLXQqwer/Jenkins-CVE-2024-23897-
aadi0258/Exploit-CVE-2024-23897
amalpvatayam67/day03-jenkins-23897
binganao/CVE-2024-23897
brandonhjh/Jenkins-CVE-2024-23897-Exploit-Demo
cc3305/CVE-2024-23897
classic130/CVE-2024-23897-Jenkins-4.441
dheeraj-jayaswal/CICD-Goat-Vapt-Writeup
foreverlanterns/secure-api-cve-2024-23897
godylockz/CVE-2024-23897
h4x0r-dz/CVE-2024-23897
harekrishnarai/CVE-2024-23897-test-windows
hybinn/CVE-2024-23897
ifconfig-me/CVE-2024-23897
itnsapurbalingga/POC-CVE-2024-23897exploit
jenkinsci-cert/SECURITY-3314-3315
jopraveen/CVE-2024-23897
kaanatmacaa/CVE-2024-23897
murataydemir/CVE-2024-23897
pulentoski/CVE-2024-23897-Arbitrary-file-read
r0xDB/CVE-2024-23897
razureink/cve-2024-23897-jenkins_lfi_reproduction
rivaedoardo62-boop/cve-2024-23897-jenkins-poc
slytechroot/CVE-2024-23897
tvasari/CVE-2024-23897
verylazytech/CVE-2024-23897
viszsec/CVE-2024-23897
vmc8ll/poc-CVE-2024-23897
vmtyan/poc-cve-2024-23897
w41l3r/jenkins_scan
wjlin0/CVE-2024-23897
xaitax/CVE-2024-23897
ydkdk12345-bot/CVE-2024-23897-CTF
yoryio/CVE-2024-23897

Los repositorios públicos incluyen exploits, escáneres, laboratorios y reglas de detección. No ejecute código de terceros sin revisarlo en un entorno aislado.

Acción requerida por CISAApply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Referencias
Fabricantehttps://www.jenkins.io/security/advisory/2024-01-24/#SECURITY-3314
CISA KEVhttps://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-23897
Análisishttp://www.openwall.com/lists/oss-security/2024/01/24/6
Exploithttp://packetstormsecurity.com/files/176839/Jenkins-2.441-LTS-2.426.3-CVE-2024-23897-Scanner.html
Exploithttp://packetstormsecurity.com/files/176840/Jenkins-2.441-LTS-2.426.3-Arbitrary-File-Read.html
Exploithttps://www.exploit-db.com/exploits/51993
Exploithttps://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/gather/jenkins_cli_ampersand_arbitrary_file_read.rb
Exploithttps://github.com/projectdiscovery/nuclei-templates/blob/main/javascript/cves/2024/CVE-2024-23897.yaml
Exploithttps://github.com/10T4/PoC-Fix-jenkins-rce_CVE-2024-23897
Exploithttps://github.com/AbraXa5/Jenkins-CVE-2024-23897
Exploithttps://github.com/Alexandertanay/jenkins-cve-2024-23897-lab
Exploithttps://github.com/Ap0dexMe0/CVE-2024-23897
Ver 49 referencias más
Exploithttps://github.com/B4CK4TT4CK/CVE-2024-23897
Exploithttps://github.com/CyberCTF/vulhub-jenkins-cve-2024-23897
Exploithttps://github.com/D1se0/CVE-2024-23897-Vulnerabilidad-Jenkins
Exploithttps://github.com/Dungsocool/CVE-2024-23897
Exploithttps://github.com/Fineken/Jenkins-CVE-2024-23897-Lab
Exploithttps://github.com/GraySignal/CVE-2024-23897-Jenkins-Arbitrary-Read-File-Vulnerability
Exploithttps://github.com/JAthulya/CVE-2024-23897
Exploithttps://github.com/Maalfer/CVE-2024-23897-exploit
Exploithttps://github.com/MachiavelliII/CVE-2024-23897
Exploithttps://github.com/Nebian/CVE-2024-23897
Exploithttps://github.com/P4x1s/CVE-2024-23897
Exploithttps://github.com/Surko888/Surko-Exploit-Jenkins-CVE-2024-23897
Exploithttps://github.com/Vozec/CVE-2024-23897
Exploithttps://github.com/WLXQqwer/Jenkins-CVE-2024-23897-
Exploithttps://github.com/aadi0258/Exploit-CVE-2024-23897
Exploithttps://github.com/amalpvatayam67/day03-jenkins-23897
Exploithttps://github.com/binganao/CVE-2024-23897
Exploithttps://github.com/brandonhjh/Jenkins-CVE-2024-23897-Exploit-Demo
Exploithttps://github.com/cc3305/CVE-2024-23897
Exploithttps://github.com/classic130/CVE-2024-23897-Jenkins-4.441
Exploithttps://github.com/dheeraj-jayaswal/CICD-Goat-Vapt-Writeup
Exploithttps://github.com/foreverlanterns/secure-api-cve-2024-23897
Exploithttps://github.com/godylockz/CVE-2024-23897
Exploithttps://github.com/h4x0r-dz/CVE-2024-23897
Exploithttps://github.com/harekrishnarai/CVE-2024-23897-test-windows
Exploithttps://github.com/hybinn/CVE-2024-23897
Exploithttps://github.com/ifconfig-me/CVE-2024-23897
Exploithttps://github.com/itnsapurbalingga/POC-CVE-2024-23897
Exploithttps://github.com/jenkinsci-cert/SECURITY-3314-3315
Exploithttps://github.com/jopraveen/CVE-2024-23897
Exploithttps://github.com/kaanatmacaa/CVE-2024-23897
Exploithttps://github.com/murataydemir/CVE-2024-23897
Exploithttps://github.com/pulentoski/CVE-2024-23897-Arbitrary-file-read
Exploithttps://github.com/r0xDB/CVE-2024-23897
Exploithttps://github.com/razureink/cve-2024-23897-jenkins_lfi_reproduction
Exploithttps://github.com/rivaedoardo62-boop/cve-2024-23897-jenkins-poc
Exploithttps://github.com/slytechroot/CVE-2024-23897
Exploithttps://github.com/tvasari/CVE-2024-23897
Exploithttps://github.com/verylazytech/CVE-2024-23897
Exploithttps://github.com/viszsec/CVE-2024-23897
Exploithttps://github.com/vmc8ll/poc-CVE-2024-23897
Exploithttps://github.com/vmtyan/poc-cve-2024-23897
Exploithttps://github.com/w41l3r/jenkins_scan
Exploithttps://github.com/wjlin0/CVE-2024-23897
Exploithttps://github.com/xaitax/CVE-2024-23897
Exploithttps://github.com/ydkdk12345-bot/CVE-2024-23897-CTF
Exploithttps://github.com/yoryio/CVE-2024-23897
Otrahttps://www.sonarsource.com/blog/excessive-expansion-uncovering-critical-security-vulnerabilities-in-jenkins/
Otrahttps://www.vicarius.io/vsociety/posts/the-anatomy-of-a-jenkins-vulnerability-cve-2024-23897-revealed-1

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.