Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-23897 PoC — Jenkins 安全漏洞

Source
Associated Vulnerability
Title:Jenkins 安全漏洞 (CVE-2024-23897)
Description: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.
Description
Poc para explotar la vulnerabilidad CVE-2024-23897 en versiones 2.441 y anteriores de Jenkins, mediante la cual podremos leer archivos internos del sistema sin estar autenticados
Readme
PoC para explotar la vulnerabilidad CVE-2024-23897 en versiones 2.441 o anteriores de Jenkins, mediante la cual podremos leer archivos internos del sistema.

En primer lugar, comprobamos la versión de Jenkins para asegurarnos de que sea vulnerable:

![image](https://github.com/Maalfer/CVE-2024-23897/assets/96432001/9c71f7a5-ed51-446b-8f45-469817001df4)

A continuación, podremos utilizar el exploit:

python3 CVE-2024-23897.py 172.17.0.2 8080 /etc/passwd

![image](https://github.com/Maalfer/CVE-2024-23897-PoC---Local-File-Inclusion/assets/96432001/56d0c5db-d38f-4a5e-9258-16f407ba9e87)

Para practicar la explotación de la vulnerabilidad, hemos utilizado el laboratorio 'SecretJenkins' de la plataforma https://dockerlabs.es:

![image](https://github.com/Maalfer/CVE-2024-23897/assets/96432001/8e783f12-1033-4097-a47b-ee80116db4ca)
File Snapshot

[4.0K] /data/pocs/9f4aa6acfd9ca742e7965deb58985deee02a969d ├── [1.6K] CVE-2024-23897.py └── [ 839] README.md 0 directories, 2 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →