# CVE-2020-10710: Information disclosure in foreman-installer

> A high-privilege attacker can retrieve the plaintext Candlepin password during Red Hat Satellite updates, exposing sensitive credentials.

- **Severity:** Medium 4.4 (`CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** An administrator
- **Attackable:** Local or same network only
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 16 Aug 2022
- **Updated:** 4 Aug 2024
- **Also known as:** GHSA-h75h-w5qg-cx2h, RHBA-2020:3614

## What is CVE-2020-10710?

CVE-2020-10710 is a medium-severity vulnerability in Theforeman Foreman, published on 16 Aug 2022. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

A flaw was found where the Plaintext Candlepin password is disclosed while updating Red Hat Satellite through the satellite-installer. This flaw allows an attacker with sufficiently high privileges, such as root, to retrieve the Candlepin plaintext password.

Weakness: CWE-522 (Insufficiently Protected Credentials)

## Which versions are affected by CVE-2020-10710?

It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `ansiblerole-satellite-receptor-installer` | Red Hat:satellite:6.7::el7 | All versions | 0:0.6.6.1-1.el7sat |
| `foreman` | Red Hat:satellite:6.7::el7 | All versions | 0:1.24.1.25-1.el7sat |
| `foreman-cli` | Red Hat:satellite:6.7::el7 | All versions | 0:1.24.1.25-1.el7sat |
| `foreman-debug` | Red Hat:satellite:6.7::el7 | All versions | 0:1.24.1.25-1.el7sat |
| `foreman-ec2` | Red Hat:satellite:6.7::el7 | All versions | 0:1.24.1.25-1.el7sat |
| `foreman-gce` | Red Hat:satellite:6.7::el7 | All versions | 0:1.24.1.25-1.el7sat |
| `foreman-installer` | Red Hat:satellite:6.7::el7 | All versions | 1:1.24.1.22-1.el7sat |
| `foreman-installer-katello` | Red Hat:satellite:6.7::el7 | All versions | 1:1.24.1.22-1.el7sat |
| `foreman-journald` | Red Hat:satellite:6.7::el7 | All versions | 0:1.24.1.25-1.el7sat |
| `foreman-libvirt` | Red Hat:satellite:6.7::el7 | All versions | 0:1.24.1.25-1.el7sat |
| `foreman-openstack` | Red Hat:satellite:6.7::el7 | All versions | 0:1.24.1.25-1.el7sat |
| `foreman-ovirt` | Red Hat:satellite:6.7::el7 | All versions | 0:1.24.1.25-1.el7sat |
| `foreman-postgresql` | Red Hat:satellite:6.7::el7 | All versions | 0:1.24.1.25-1.el7sat |
| `foreman-rackspace` | Red Hat:satellite:6.7::el7 | All versions | 0:1.24.1.25-1.el7sat |
| `foreman-telemetry` | Red Hat:satellite:6.7::el7 | All versions | 0:1.24.1.25-1.el7sat |
| `foreman-vmware` | Red Hat:satellite:6.7::el7 | All versions | 0:1.24.1.25-1.el7sat |
| `pulp` | Red Hat:satellite:6.7::el7 | All versions | 0:2.21.0.2-1.el7sat |
| `pulp-admin-client` | Red Hat:satellite:6.7::el7 | All versions | 0:2.21.0.2-1.el7sat |
| `pulp-maintenance` | Red Hat:satellite:6.7::el7 | All versions | 0:2.21.0.2-1.el7sat |
| `pulp-selinux` | Red Hat:satellite:6.7::el7 | All versions | 0:2.21.0.2-1.el7sat |
| `pulp-server` | Red Hat:satellite:6.7::el7 | All versions | 0:2.21.0.2-1.el7sat |
| `python-pulp-bindings` | Red Hat:satellite:6.7::el7 | All versions | 0:2.21.0.2-1.el7sat |
| `python-pulp-client-lib` | Red Hat:satellite:6.7::el7 | All versions | 0:2.21.0.2-1.el7sat |
| `python-pulp-common` | Red Hat:satellite:6.7::el7 | All versions | 0:2.21.0.2-1.el7sat |
| `python-pulp-oid_validation` | Red Hat:satellite:6.7::el7 | All versions | 0:2.21.0.2-1.el7sat |
| `python-pulp-repoauth` | Red Hat:satellite:6.7::el7 | All versions | 0:2.21.0.2-1.el7sat |
| `python-pulp-streamer` | Red Hat:satellite:6.7::el7 | All versions | 0:2.21.0.2-1.el7sat |
| `python-receptor-satellite` | Red Hat:satellite:6.7::el7 | All versions | 0:1.0.1-2.el7sat |
| `python3-receptor-satellite` | Red Hat:satellite:6.7::el7 | All versions | 0:1.0.1-2.el7sat |
| `satellite` | Red Hat:satellite:6.7::el7 | All versions | 0:6.7.3-1.el7sat |
| `satellite-capsule` | Red Hat:satellite:6.7::el7 | All versions | 0:6.7.3-1.el7sat |
| `satellite-cli` | Red Hat:satellite:6.7::el7 | All versions | 0:6.7.3-1.el7sat |
| `satellite-common` | Red Hat:satellite:6.7::el7 | All versions | 0:6.7.3-1.el7sat |
| `satellite-debug-tools` | Red Hat:satellite:6.7::el7 | All versions | 0:6.7.3-1.el7sat |
| `tfm-rubygem-foreman-tasks` | Red Hat:satellite:6.7::el7 | All versions | 0:0.17.5.7-1.el7sat |
| `tfm-rubygem-foreman_ansible` | Red Hat:satellite:6.7::el7 | All versions | 0:4.0.3.7-1.el7sat |
| `tfm-rubygem-foreman_remote_execution` | Red Hat:satellite:6.7::el7 | All versions | 0:2.0.10.2-1.el7sat |
| `tfm-rubygem-foreman_remote_execution-cockpit` | Red Hat:satellite:6.7::el7 | All versions | 0:2.0.10.2-1.el7sat |
| `tfm-rubygem-katello` | Red Hat:satellite:6.7::el7 | All versions | 0:3.14.0.27-1.el7sat |
| `ansiblerole-satellite-receptor-installer` | Red Hat:satellite_capsule:6.7::el7 | All versions | 0:0.6.6.1-1.el7sat |

Products: Theforeman Foreman.

## How do I fix CVE-2020-10710?

Apply the vendor's patch.

## Is CVE-2020-10710 being exploited?

There is no known exploitation of CVE-2020-10710 in the wild and no public exploit code.

## Other vulnerabilities in Theforeman Foreman

- [CVE-2018-14643](https://insights.sbomify.com/CVE-2018-14643/): smart_proxy_dynflow gem authentication bypass in Foreman remote execution feature (critical 9.8)
- [CVE-2017-7505](https://insights.sbomify.com/CVE-2017-7505/): Missing authorization in foreman (high 8.8)
- [CVE-2016-4475](https://insights.sbomify.com/CVE-2016-4475/): Missing authorization in n/a (high 8.8)
- [CVE-2016-3728](https://insights.sbomify.com/CVE-2016-3728/): Code injection in n/a (high 8.8)
- [CVE-2015-5246](https://insights.sbomify.com/CVE-2015-5246/): Auth bypass in n/a (high 8.1)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2020-10710 and fix it if it is affected.

What it is: CVE-2020-10710 is a medium-severity vulnerability in Theforeman Foreman, published on 16 Aug 2022. It can only be exploited from the same machine or local network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2020-10710 in the wild and no public exploit code.

Affected product: Theforeman Foreman. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2020-10710/ (Markdown: https://insights.sbomify.com/CVE-2020-10710/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2020-10710
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2020-10710
- OSV: https://osv.dev/vulnerability/CVE-2020-10710

---
From sbomify Insights: https://insights.sbomify.com/CVE-2020-10710/
Summaries are generated and may contain mistakes; the official description above is the record.
