6.5
MEDIUM
CVE-2022-39310
GoCD Agent Privilege Escalation Vulnerability
Description

GoCD is a continuous delivery server. GoCD helps you automate and streamline the build-test-release cycle for continuous delivery of your product. 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. This issue is fixed in GoCD version 21.1.0. There are currently no known workarounds.

INFO

Published Date :

Oct. 14, 2022, 8:15 p.m.

Last Modified :

Oct. 19, 2022, 5:11 p.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

2.8
Affected Products

The following products are affected by CVE-2022-39310 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Thoughtworks gocd
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-39310.

URL Resource
https://github.com/gocd/gocd/pull/8877 Patch Third Party Advisory
https://github.com/gocd/gocd/security/advisories/GHSA-4fp5-33jh-hgcq Patch Release Notes Third Party Advisory
https://www.gocd.org/releases/#21-1-0 Release Notes Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-39310 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-39310 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Oct. 19, 2022

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
    Changed Reference Type https://github.com/gocd/gocd/pull/8877 No Types Assigned https://github.com/gocd/gocd/pull/8877 Patch, Third Party Advisory
    Changed Reference Type https://github.com/gocd/gocd/security/advisories/GHSA-4fp5-33jh-hgcq No Types Assigned https://github.com/gocd/gocd/security/advisories/GHSA-4fp5-33jh-hgcq Patch, Release Notes, Third Party Advisory
    Changed Reference Type https://www.gocd.org/releases/#21-1-0 No Types Assigned https://www.gocd.org/releases/#21-1-0 Release Notes, Vendor Advisory
    Added CWE NIST NVD-CWE-Other
    Added CPE Configuration OR *cpe:2.3:a:thoughtworks:gocd:*:*:*:*:*:*:*:* versions up to (excluding) 21.1.0
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-39310 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.10 }} 0.00%

score

0.42353

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability