2021-07-29 16:29:05 +00:00
|
|
|
id: jenkins-script
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Jenkins RCE due to accesible script functionality
|
|
|
|
author: philippedelteil
|
|
|
|
severity: critical
|
|
|
|
reference: https://hackerone.com/reports/403402
|
2021-08-02 15:27:19 +00:00
|
|
|
tags: jenkins,rce,devops
|
2021-07-29 16:29:05 +00:00
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/script/"
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "println(Jenkins.instance.pluginManager.plugins)"
|
2021-08-02 15:27:19 +00:00
|
|
|
- "Scriptconsole"
|
|
|
|
condition: and
|
2021-07-29 16:29:05 +00:00
|
|
|
part: body
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|