CVE-2023-28630
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine with an admin-level account, but needs a user to act. High risk of data exposure.
- Exploit odds
- 0.3% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.3% in the next 30 days (EPSS).
- Severity: 4.2 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.3% · EPSS, next 30 days
- Weakness
- CWE-532 · Secrets in logs
- Record status
- Modified
Affected
- Thoughtworks Gocd < 23.1.0
Attack profile CVSS 3.1 · 4.2
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- High
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Raw vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2023-28630.md and follow it. Check whether this project is affected by CVE-2023-28630. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/gocd/gocd/commit/6545481e7b36817dd6033bf614585a8db242070d
- https://github.com/gocd/gocd/releases/tag/23.1.0
- https://github.com/gocd/gocd/security/advisories/GHSA-p95w-gh78-qjmv
- https://github.com/gocd/gocd/commit/6545481e7b36817dd6033bf614585a8db242070d
- https://github.com/gocd/gocd/releases/tag/23.1.0
- https://github.com/gocd/gocd/security/advisories/GHSA-p95w-gh78-qjmv
References
- https://github.com/gocd/gocd/commit/6545481e7b36817dd6033bf614585a8db242070d
- https://github.com/gocd/gocd/releases/tag/23.1.0
- https://github.com/gocd/gocd/security/advisories/GHSA-p95w-gh78-qjmv
- https://www.gocd.org/releases/#23-1-0
- https://github.com/gocd/gocd/commit/6545481e7b36817dd6033bf614585a8db242070d
- https://github.com/gocd/gocd/releases/tag/23.1.0
- https://github.com/gocd/gocd/security/advisories/GHSA-p95w-gh78-qjmv
- https://www.gocd.org/releases/#23-1-0