{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-56321","id":"CVE-2024-56321","title":"GoCD can allow malicious GoCD admins to abuse backup configuration to gain additional host access","description":"GoCD is a continuous deliver server. GoCD versions 18.9.0 through 24.4.0 (inclusive) can allow GoCD admins to abuse the backup configuration \"post-backup script\" feature to potentially execute arbitrary scripts on the hosting server or container as GoCD's user, rather than pre-configured scripts. In practice the impact of this vulnerability is limited, as in most configurations a user who can log ","descriptionLong":"GoCD is a continuous deliver server. GoCD versions 18.9.0 through 24.4.0 (inclusive) can allow GoCD admins to abuse the backup configuration \"post-backup script\" feature to potentially execute arbitrary scripts on the hosting server or container as GoCD's user, rather than pre-configured scripts. In practice the impact of this vulnerability is limited, as in most configurations a user who can log into the GoCD UI as an admin also has host administration permissions for the host/container that GoCD runs on, in order to manage artifact storage and other service-level configuration options. Additionally, since a GoCD admin has ability to configure and schedule pipelines tasks on all GoCD agents available to the server, the fundamental functionality of GoCD allows co-ordinated task execution similar to that of post-backup-scripts. However in restricted environments where the host administration is separated from the role of a GoCD admin, this may be unexpected. The issue is fixed in GoCD 24.5.0. Post-backup scripts can no longer be executed from within certain sensitive locations on the GoCD server. No known workarounds are available.","published":"2025-01-03T15:41:40.737Z","updated":"2026-11-11T13:05:31.682985759Z","reserved":"2024-12-18T23:44:51.604Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":3.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N","rating":"low","source":"GitHub_M"},"metrics":[{"version":"3.1","score":3.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N","rating":"low","source":"GitHub_M"},{"version":"3.1","score":3.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N","rating":"low","source":"github.com"},{"version":"3.1","score":3.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N","rating":"low","source":"OSV"}],"rating":"low","products":["gocd"],"affectedProducts":[{"vendor":"gocd","product":"gocd","defaultStatus":null,"versions":[{"version":">= 18.9.0, < 24.5.0","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-20","CWE-36"],"aliases":["GHSA-7jr3-gh3w-vjxq"],"references":[{"url":"https://github.com/gocd/gocd/security/advisories/GHSA-7jr3-gh3w-vjxq","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory"]},{"url":"https://github.com/gocd/gocd/commit/631f315d17fcb73f310eee6c881974c9b55ca9f0","tags":["x_refsource_MISC","Patch","fix"]},{"url":"https://github.com/gocd/gocd/releases/tag/24.5.0","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://www.gocd.org/releases/#24-5-0","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56321.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56321","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00561,"epssPercentile":0.47404,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-56321","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56321","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-56321","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-56321","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}