CVE-2024-56324: GoCD - XML External Entity Injection
- Cve: CVE-2024-56324
- Name: GoCD - XML External Entity Injection
- Description: GoCD is a continuous deliver server. GoCD versions prior to 24.4.0 can allow GoCD "group admins" to abuse ability to edit the raw XML configuration for groups they administer to trigger XML External Entity (XXE) injection on the GoCD server. Theoretically, the XXE vulnerability can result in additional attacks such as SSRF, information disclosure from the GoCD server, and directory traversal, although these additional attacks have not been explicitly demonstrated as exploitable. This issue is fixed in GoCD 24.5.0. Some workarounds are available. One may temporarily block access to `/go/*/pipelines/snippet` routes from an external reverse proxy or WAF if one's "group admin" users do not need the functionality to edit the XML of pipelines directly (rather than using the UI, or using a configuration repository). One may also prevent external access from one's GoCD server to arbitrary locations using some kind of environment egress control.
- Impact: Attackers can potentially perform SSRF, disclose sensitive information, and traverse directories, leading to server compromise or data leakage.
- Remediation: Upgrade to version 24.5.0 or later. Implement route blocking or environment egress controls as temporary workarounds.
- Vulnerability type: xml_external_entity_injection
- Vulnerability impact: information_disclosure
- Requirement type: admin_privileges
- Requirements: Attacker needs group admin privileges
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L
- Epss score: 0.00806
- Epss percentile: 0.57563
- Assignee: [email protected]
- Published at: 2025-01-03T16:15:26Z
- Age in days: 690
- Modified at: 2026-06-17T08:12:02Z
- Patch available: yes
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-56324
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
Cwe
| Id | Name |
|---|---|
| CWE-611 | Improper Restriction of XML External Entity Reference |
Hackerone
- Reports: 1
- Rank: 5211
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| thoughtworks:gocd | < 24.5.0 | no | nvd | /v1/products/thoughtworks/gocd |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| gocd/gocd | commit, fix, releases, security_advisory | yes | /v1/repositories/gocd/gocd |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Hackerone reports: 1
- Exposed hosts: 125
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since