Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
Vulnerability Details :

CVE-2024-56321

Summary
Assigner-GitHub_M
Assigner Org ID-a0819718-46f1-4df5-94e2-005712e83aaa
Published At-03 Jan, 2025 | 15:41
Updated At-03 Jan, 2025 | 17:50
Rejected At-
Credits

GoCD can allow malicious GoCD admins to abuse backup configuration to gain additional host access

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.

Vendors
-
Not available
Products
-
Metrics (CVSS)
VersionBase scoreBase severityVector
Weaknesses
Attack Patterns
Solution/Workaround
References
HyperlinkResource Type
EPSS History
Score
Latest Score
-
N/A
No data available for selected date range
Percentile
Latest Percentile
-
N/A
No data available for selected date range
Stakeholder-Specific Vulnerability Categorization (SSVC)
▼Common Vulnerabilities and Exposures (CVE)
cve.org
Assigner:GitHub_M
Assigner Org ID:a0819718-46f1-4df5-94e2-005712e83aaa
Published At:03 Jan, 2025 | 15:41
Updated At:03 Jan, 2025 | 17:50
Rejected At:
▼CVE Numbering Authority (CNA)
GoCD can allow malicious GoCD admins to abuse backup configuration to gain additional host access

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.

Affected Products
Vendor
gocd
Product
gocd
Versions
Affected
  • >= 18.9.0, < 24.5.0
Problem Types
TypeCWE IDDescription
CWECWE-20CWE-20: Improper Input Validation
CWECWE-36CWE-36: Absolute Path Traversal
Type: CWE
CWE ID: CWE-20
Description: CWE-20: Improper Input Validation
Type: CWE
CWE ID: CWE-36
Description: CWE-36: Absolute Path Traversal
Metrics
VersionBase scoreBase severityVector
3.13.8LOW
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N
Version: 3.1
Base score: 3.8
Base severity: LOW
Vector:
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/gocd/gocd/security/advisories/GHSA-7jr3-gh3w-vjxq
x_refsource_CONFIRM
https://github.com/gocd/gocd/commit/631f315d17fcb73f310eee6c881974c9b55ca9f0
x_refsource_MISC
https://github.com/gocd/gocd/releases/tag/24.5.0
x_refsource_MISC
https://www.gocd.org/releases/#24-5-0
x_refsource_MISC
Hyperlink: https://github.com/gocd/gocd/security/advisories/GHSA-7jr3-gh3w-vjxq
Resource:
x_refsource_CONFIRM
Hyperlink: https://github.com/gocd/gocd/commit/631f315d17fcb73f310eee6c881974c9b55ca9f0
Resource:
x_refsource_MISC
Hyperlink: https://github.com/gocd/gocd/releases/tag/24.5.0
Resource:
x_refsource_MISC
Hyperlink: https://www.gocd.org/releases/#24-5-0
Resource:
x_refsource_MISC
▼Authorized Data Publishers (ADP)
CISA ADP Vulnrichment
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
Information is not available yet
▼National Vulnerability Database (NVD)
nvd.nist.gov
Source:security-advisories@github.com
Published At:03 Jan, 2025 | 16:15
Updated At:01 Aug, 2025 | 20:03

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.

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
Secondary3.13.8LOW
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N
Type: Secondary
Version: 3.1
Base score: 3.8
Base severity: LOW
Vector:
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N
CPE Matches

thoughtworks
thoughtworks
>>gocd>>Versions from 18.9.0(inclusive) to 24.5.0(exclusive)
cpe:2.3:a:thoughtworks:gocd:*:*:*:*:*:*:*:*
Weaknesses
CWE IDTypeSource
CWE-20Primarysecurity-advisories@github.com
CWE-36Primarysecurity-advisories@github.com
CWE ID: CWE-20
Type: Primary
Source: security-advisories@github.com
CWE ID: CWE-36
Type: Primary
Source: security-advisories@github.com
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://github.com/gocd/gocd/commit/631f315d17fcb73f310eee6c881974c9b55ca9f0security-advisories@github.com
Patch
https://github.com/gocd/gocd/releases/tag/24.5.0security-advisories@github.com
Release Notes
https://github.com/gocd/gocd/security/advisories/GHSA-7jr3-gh3w-vjxqsecurity-advisories@github.com
Vendor Advisory
https://www.gocd.org/releases/#24-5-0security-advisories@github.com
Release Notes
Hyperlink: https://github.com/gocd/gocd/commit/631f315d17fcb73f310eee6c881974c9b55ca9f0
Source: security-advisories@github.com
Resource:
Patch
Hyperlink: https://github.com/gocd/gocd/releases/tag/24.5.0
Source: security-advisories@github.com
Resource:
Release Notes
Hyperlink: https://github.com/gocd/gocd/security/advisories/GHSA-7jr3-gh3w-vjxq
Source: security-advisories@github.com
Resource:
Vendor Advisory
Hyperlink: https://www.gocd.org/releases/#24-5-0
Source: security-advisories@github.com
Resource:
Release Notes

Change History

0
Information is not available yet

Similar CVEs

0Records found

Details not found