4.4
MEDIUM
CVE-2023-28630
GoCD PostgreSQL/MySQL Database Password Leak Vulnerability
Description

GoCD is an open source continuous delivery server. In GoCD versions from 20.5.0 and below 23.1.0, if the server environment is not correctly configured by administrators to provide access to the relevant PostgreSQL or MySQL backup tools, the credentials for database access may be unintentionally leaked to admin alerts on the GoCD user interface. The vulnerability is triggered only if the GoCD server host is misconfigured to have backups enabled, but does not have access to the `pg_dump` or `mysqldump` utility tools to backup the configured database type (PostgreSQL or MySQL respectively). In such cases, failure to launch the expected backup utility reports the shell environment used to attempt to launch in the server admin alert, which includes the plaintext database password supplied to the configured tool. This vulnerability does not affect backups of the default on-disk H2 database that GoCD is configured to use. This issue has been addressed and fixed in GoCD 23.1.0. Users are advised to upgrade. Users unable to upgrade may disable backups, or administrators should ensure that the required `pg_dump` (PostgreSQL) or `mysqldump` (MySQL) binaries are available on the GoCD server when backups are triggered.

INFO

Published Date :

March 27, 2023, 9:15 p.m.

Last Modified :

April 3, 2023, 1:19 p.m.

Remotely Exploitable :

No

Impact Score :

3.6

Exploitability Score :

0.8
Affected Products

The following products are affected by CVE-2023-28630 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-2023-28630.

URL Resource
https://github.com/gocd/gocd/commit/6545481e7b36817dd6033bf614585a8db242070d Patch
https://github.com/gocd/gocd/releases/tag/23.1.0 Release Notes
https://github.com/gocd/gocd/security/advisories/GHSA-p95w-gh78-qjmv Patch Vendor Advisory
https://www.gocd.org/releases/#23-1-0 Release Notes

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-2023-28630 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-28630 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]

    Apr. 03, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
    Changed Reference Type https://github.com/gocd/gocd/commit/6545481e7b36817dd6033bf614585a8db242070d No Types Assigned https://github.com/gocd/gocd/commit/6545481e7b36817dd6033bf614585a8db242070d Patch
    Changed Reference Type https://github.com/gocd/gocd/releases/tag/23.1.0 No Types Assigned https://github.com/gocd/gocd/releases/tag/23.1.0 Release Notes
    Changed Reference Type https://github.com/gocd/gocd/security/advisories/GHSA-p95w-gh78-qjmv No Types Assigned https://github.com/gocd/gocd/security/advisories/GHSA-p95w-gh78-qjmv Patch, Vendor Advisory
    Changed Reference Type https://www.gocd.org/releases/#23-1-0 No Types Assigned https://www.gocd.org/releases/#23-1-0 Release Notes
    Added CPE Configuration OR *cpe:2.3:a:thoughtworks:gocd:*:*:*:*:*:*:*:* versions from (including) 20.5.0 up to (excluding) 23.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-2023-28630 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2023-28630 weaknesses.

Exploit Prediction

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

0.04 }} 0.00%

score

0.12183

percentile

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