# CVE-2017-2637: Auth bypass in rhosp-director

> Attackers can bypass authentication to control virtual machines or take over hosts via unsecured libvirtd connections in OpenStack director deployments.

- **Severity:** Critical 9.9 (`CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 26 Jul 2018
- **Updated:** 5 Aug 2024
- **Also known as:** GHSA-w8fq-h7pg-632c, RHSA-2017:1242, RHSA-2017:1504, RHSA-2017:1537, RHSA-2017:1546

## What is CVE-2017-2637?

CVE-2017-2637 is a critical authentication bypass vulnerability in Redhat Openstack, published on 26 Jul 2018. Any signed-in user can exploit it over the network, with no action from the victim.

### Official description

A design flaw issue was found in the Red Hat OpenStack Platform director use of TripleO to enable libvirtd based live-migration. Libvirtd is deployed by default (by director) listening on 0.0.0.0 (all interfaces) with no-authentication or encryption. Anyone able to make a TCP connection to any compute host IP address, including 127.0.0.1, other loopback interface addresses, or in some cases possibly addresses that have been exposed beyond the management interface, could use this to open a virsh session to the libvirtd instance and gain control of virtual machine instances or possibly take over the host.

Weakness: CWE-306 (Missing Authentication for Critical Functionality)

## Which versions are affected by CVE-2017-2637?

It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `openstack-tripleo-heat-templates` | Red Hat:openstack-director:7::el7 | All versions | 0:0.8.6-135.el7ost |
| `openstack-tripleo-puppet-elements` | Red Hat:openstack-director:7::el7 | All versions | 0:0.0.1-6.el7ost |
| `python-rdomanager-oscplugin` | Red Hat:openstack-director:7::el7 | All versions | 0:0.0.10-34.el7ost |
| `openstack-tripleo-heat-templates` | Red Hat:openstack-director:8::el7 | All versions | 0:0.8.14-29.el7ost |
| `openstack-tripleo-heat-templates-kilo` | Red Hat:openstack-director:8::el7 | All versions | 0:0.8.14-29.el7ost |
| `openstack-tripleo-puppet-elements` | Red Hat:openstack-director:8::el7 | All versions | 0:0.0.5-2.el7ost |
| `python-tripleoclient` | Red Hat:openstack-director:8::el7 | All versions | 0:0.3.4-14.el7ost |
| `openstack-tripleo-heat-templates` | Red Hat:openstack-director:9::el7 | All versions | 0:2.0.0-57.el7ost |
| `openstack-tripleo-heat-templates-liberty` | Red Hat:openstack-director:9::el7 | All versions | 0:2.0.0-57.el7ost |
| `openstack-tripleo-puppet-elements` | Red Hat:openstack-director:9::el7 | All versions | 0:2.0.0-6.el7ost |
| `python-tripleoclient` | Red Hat:openstack-director:9::el7 | All versions | 0:2.0.0-14.el7ost |
| `openstack-nova` | Red Hat:openstack:10::el7 | All versions | 1:14.0.3-9.el7ost |
| `openstack-nova-api` | Red Hat:openstack:10::el7 | All versions | 1:14.0.3-9.el7ost |
| `openstack-nova-cells` | Red Hat:openstack:10::el7 | All versions | 1:14.0.3-9.el7ost |
| `openstack-nova-cert` | Red Hat:openstack:10::el7 | All versions | 1:14.0.3-9.el7ost |
| `openstack-nova-common` | Red Hat:openstack:10::el7 | All versions | 1:14.0.3-9.el7ost |
| `openstack-nova-compute` | Red Hat:openstack:10::el7 | All versions | 1:14.0.3-9.el7ost |
| `openstack-nova-conductor` | Red Hat:openstack:10::el7 | All versions | 1:14.0.3-9.el7ost |
| `openstack-nova-console` | Red Hat:openstack:10::el7 | All versions | 1:14.0.3-9.el7ost |
| `openstack-nova-migration` | Red Hat:openstack:10::el7 | All versions | 1:14.0.3-9.el7ost |
| `openstack-nova-network` | Red Hat:openstack:10::el7 | All versions | 1:14.0.3-9.el7ost |
| `openstack-nova-novncproxy` | Red Hat:openstack:10::el7 | All versions | 1:14.0.3-9.el7ost |
| `openstack-nova-placement-api` | Red Hat:openstack:10::el7 | All versions | 1:14.0.3-9.el7ost |
| `openstack-nova-scheduler` | Red Hat:openstack:10::el7 | All versions | 1:14.0.3-9.el7ost |
| `openstack-nova-serialproxy` | Red Hat:openstack:10::el7 | All versions | 1:14.0.3-9.el7ost |
| `openstack-nova-spicehtml5proxy` | Red Hat:openstack:10::el7 | All versions | 1:14.0.3-9.el7ost |
| `openstack-tripleo-common` | Red Hat:openstack:10::el7 | All versions | 0:5.4.1-6.el7ost |
| `openstack-tripleo-heat-templates` | Red Hat:openstack:10::el7 | All versions | 0:5.2.0-15.el7ost |
| `openstack-tripleo-puppet-elements` | Red Hat:openstack:10::el7 | All versions | 0:5.2.0-3.el7ost |
| `puppet-nova` | Red Hat:openstack:10::el7 | All versions | 0:9.5.0-4.el7ost |
| `puppet-tripleo` | Red Hat:openstack:10::el7 | All versions | 0:5.5.0-12.el7ost |
| `python-nova` | Red Hat:openstack:10::el7 | All versions | 1:14.0.3-9.el7ost |
| `python-nova-tests` | Red Hat:openstack:10::el7 | All versions | 1:14.0.3-9.el7ost |

Products: Redhat Openstack.

## How do I fix CVE-2017-2637?

Apply the vendor's patch.

## Is CVE-2017-2637 being exploited?

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

## Other vulnerabilities in Redhat Openstack

- [CVE-2015-1842](https://insights.sbomify.com/CVE-2015-1842/): Hardcoded credentials in n/a (critical 10.0)
- [CVE-2022-38065](https://insights.sbomify.com/CVE-2022-38065/): Privilege escalation in OpenStack (high 8.8)
- [CVE-2016-4474](https://insights.sbomify.com/CVE-2016-4474/): Hardcoded credentials in n/a (high 8.8)
- [CVE-2021-31918](https://insights.sbomify.com/CVE-2021-31918/): Information disclosure in tripleo-ansible (high 7.5)
- [CVE-2013-1793](https://insights.sbomify.com/CVE-2013-1793/): Hardcoded credentials in openstack-db program (high 7.5)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2017-2637 and fix it if it is affected.

What it is: CVE-2017-2637 is a critical authentication bypass vulnerability in Redhat Openstack, published on 26 Jul 2018. Any signed-in user can exploit it over the network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2017-2637 in the wild and no public exploit code.

Affected product: Redhat Openstack. 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-2017-2637/ (Markdown: https://insights.sbomify.com/CVE-2017-2637/index.md)
```

## Sources

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

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