Coder Social home page Coder Social logo

cve-2024-23897's Introduction

CVE-2024-23897 | Jenkins <= 2.441 & <= LTS 2.426.2 PoC and scanner

πŸ“œ Description

Exploitation and scanning tool specifically designed for Jenkins versions <= 2.441 & <= LTS 2.426.2. It leverages CVE-2024-23897 to assess and exploit vulnerabilities in Jenkins instances.

image

πŸš€ Usage

Ensure you have the necessary permissions to scan and exploit the target systems. Use this tool responsibly and ethically.

python CVE-2024-23897.py -t <target> -p <port> -f <file>

or

python CVE-2024-23897.py -i <input_file> -f <file>

Parameters:

  • -t or --target: Specify the target IP(s). Supports single IP, IP range, comma-separated list, or CIDR block.
  • -i or --input-file: Path to input file containing hosts in the format of http://1.2.3.4:8080/ (one per line).
  • -o or --output-file: Export results to file (optional).
  • -p or --port: Specify the port number. Default is 8080 (optional).
  • -f or --file: Specify the file to read on the target system.
  • -o or --output: Path to output file for saving the results (optional).
  • -c or --command: The jenkins-cli.jar command [help|who-am-i|connect-node]. Default is 'help' (optional).
  • -l or --language: The language code you want to use. Default is en_US (optional).

πŸ“† Changelog

[29th Febuary 2024] - Bugs & Feature Request (thanks to @cbartholomew)

  • The packet length will now adjust to ensure all file names will be uploaded with the correct packet lengths. i.e. works with more than just /etc/passwd or 11 character file lenghts.
  • Added -c COMMAND which allows the testing of other jenkins-cli.jar commands: who-am-i,connect-node. Default remains "help".
  • Added -l LANGUAGE which allows for the 5 byte language code, i.e. en_US, cn_ZH, etc. The default is en_US.

[27th January 2024] - Feature Request

  • Added scanning/exploiting via input file with hosts (-i INPUT_FILE).
  • Added export to file (-o OUTPUT_FILE).

[26th January 2024] - Initial Release

  • Initial release.

Contributing

Contributions are welcome. Please feel free to fork, modify, and make pull requests or report issues.

πŸ“Œ Author

Alexander Hagenah

⚠️ Disclaimer

This tool is meant for educational and professional purposes only. Unauthorized scanning and exploiting of systems is illegal and unethical. Always ensure you have explicit permission to test and exploit any systems you target.

cve-2024-23897's People

Contributors

xaitax avatar cbartholomew avatar

Stargazers

JWL avatar Mahmoud Kandeel avatar  avatar  avatar Zine Eddine avatar Zaid Taha avatar O.T Osman avatar Crispus H. avatar CBcomp avatar Postmodern avatar  avatar Zllggggg avatar Cinabr0 avatar  avatar Tarun Joshi avatar  avatar  avatar Blue DeviL avatar  avatar CrE0m avatar Crilwa avatar Edward Cody avatar Daniel Barker avatar Matthew McAteer avatar Pele Marse avatar farhan nadim pial avatar  avatar  avatar trhacknon avatar r00tb1t avatar  avatar Computer button pusher // Pousseur de boutons en informatique  || SIN - SIN HACK - HACK || NO-CODE evangelist || Black coffee like my sense of humor avatar Marco avatar h4ndsh avatar Matthew Linney avatar xrkk avatar biubiu avatar  avatar  avatar Mesha Ma avatar hoek avatar Tripp avatar Hudjefa avatar  avatar  avatar  avatar Alberto Meneghini avatar Tony Harris avatar Abhishek Meena avatar Jamaluddin fikri avatar Chris Farrell avatar  avatar Jhere avatar  avatar Stas Yakobov avatar Deicide avatar  avatar

Watchers

 avatar  avatar Edward Cody avatar

cve-2024-23897's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.