Skip to content

GoCD before 21.1.0 has malicious agent able to impersonate another agent due to improper access control

Moderate
chadlwilson published GHSA-4fp5-33jh-hgcq Oct 14, 2022

Package

gocd-server

Affected versions

< 21.1.0

Patched versions

21.1.0

Description

Impact

GoCD versions prior to 21.1.0 can allow one authenticated agent to impersonate another agent, and thus receive work packages for other agents due to broken access control and incorrect validation of agent tokens within the GoCD server. Since work packages can contain sensitive information such as credentials intended only for a given job running against a specific agent environment, this can cause accidental information disclosure. Exploitation requires knowledge of agent identifiers and ability to authenticate as an existing agent with the GoCD server.

Patches

Fixed in GoCD 21.1.0.

Workarounds

None known.

References

For more information

If you have any questions or comments about this advisory:

Severity

Moderate
4.9
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
High
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

CVE ID

CVE-2022-39310

Weaknesses

Credits