nuclei-templates/vulnerabilities/jenkins/jenkins-script.yaml

41 lines
886 B
YAML
Raw Normal View History

2021-07-29 16:29:05 +00:00
id: jenkins-script
info:
name: Jenkins - Remote Code Execution
2021-07-29 16:29:05 +00:00
author: philippedelteil
severity: critical
2022-05-31 08:41:09 +00:00
description: |
Jenkins is susceptible to a remote code execution vulnerability due to accessible script functionality.
reference:
- https://hackerone.com/reports/403402
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
cvss-score: 10.0
cwe-id: CWE-77
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/"
2022-05-31 08:41:09 +00:00
2021-07-29 16:29:05 +00:00
matchers-condition: and
matchers:
- type: word
2022-05-31 08:41:09 +00:00
part: body
2021-07-29 16:29:05 +00:00
words:
- "println(Jenkins.instance.pluginManager.plugins)"
- type: word
part: body
words:
- "Script Console"
2021-08-02 15:27:19 +00:00
- "Scriptconsole"
condition: or
2022-05-31 08:41:09 +00:00
2021-07-29 16:29:05 +00:00
- type: status
status:
- 200
# Enhanced by mp on 2022/05/26