CVE-2017-12440 Openstack Aodh can be used to launder Keystone trusts
Authenticated users can bypass authorization checks to obtain Keystone tokens and perform actions using arbitrary trust IDs in OpenStack Aodh.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-12440?
CVE-2017-12440 is a high-severity missing authorization vulnerability in n/a, published on 18 Aug 2017. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Aodh as packaged in Openstack Ocata and Newton before change-ID I8fd11a7f9fe3c0ea5f9843a89686ac06713b7851 and before Pike-rc1 does not verify that trust IDs belong to the user when creating alarm action with the scheme trust+http, which allows remote authenticated users with knowledge of trust IDs where Aodh is the trustee to obtain a Keystone token and perform unspecified authenticated actions by adding an alarm action with the scheme trust+http, and providing a trust id where Aodh is the trustee.
Weakness: CWE-306
Which versions are affected by CVE-2017-12440?
3 open source packages ship an affected version, including aodh. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
aodh PyPI | All versions | 6.0.1 |
aodh PyPI | All versions | 6.0.1 |
aodh PyPI | All versions | 6.0.1 |
Linux distribution packages (22)
openstack-aodh Red Hat:openstack:10::el7 | All versions | 0:3.0.4-1.el7ost |
openstack-aodh-api Red Hat:openstack:10::el7 | All versions | 0:3.0.4-1.el7ost |
openstack-aodh-common Red Hat:openstack:10::el7 | All versions | 0:3.0.4-1.el7ost |
openstack-aodh-compat Red Hat:openstack:10::el7 | All versions | 0:3.0.4-1.el7ost |
openstack-aodh-evaluator Red Hat:openstack:10::el7 | All versions | 0:3.0.4-1.el7ost |
openstack-aodh-expirer Red Hat:openstack:10::el7 | All versions | 0:3.0.4-1.el7ost |
openstack-aodh-listener Red Hat:openstack:10::el7 | All versions | 0:3.0.4-1.el7ost |
openstack-aodh-notifier Red Hat:openstack:10::el7 | All versions | 0:3.0.4-1.el7ost |
python-aodh Red Hat:openstack:10::el7 | All versions | 0:3.0.4-1.el7ost |
python-aodh-tests Red Hat:openstack:10::el7 | All versions | 0:3.0.4-1.el7ost |
openstack-aodh Red Hat:openstack:11::el7 | All versions | 0:4.0.2-3.el7ost |
openstack-aodh-api Red Hat:openstack:11::el7 | All versions | 0:4.0.2-3.el7ost |
openstack-aodh-common Red Hat:openstack:11::el7 | All versions | 0:4.0.2-3.el7ost |
openstack-aodh-compat Red Hat:openstack:11::el7 | All versions | 0:4.0.2-3.el7ost |
openstack-aodh-evaluator Red Hat:openstack:11::el7 | All versions | 0:4.0.2-3.el7ost |
openstack-aodh-expirer Red Hat:openstack:11::el7 | All versions | 0:4.0.2-3.el7ost |
openstack-aodh-listener Red Hat:openstack:11::el7 | All versions | 0:4.0.2-3.el7ost |
openstack-aodh-notifier Red Hat:openstack:11::el7 | All versions | 0:4.0.2-3.el7ost |
python-aodh Red Hat:openstack:11::el7 | All versions | 0:4.0.2-3.el7ost |
python-aodh-tests Red Hat:openstack:11::el7 | All versions | 0:4.0.2-3.el7ost |
openstack-aodh SUSE:OpenStack Cloud 7 | All versions | 3.0.4~a0~dev1-2.3.1 |
openstack-aodh-doc SUSE:OpenStack Cloud 7 | All versions | 3.0.4~a0~dev1-2.3.1 |
Products include Openstack Openstack.
How do I fix CVE-2017-12440?
Upgrade aodh to 6.0.1 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2017-12440 being exploited?
There is no known exploitation of CVE-2017-12440 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2017-12440, DSA-3953-1, GHSA-86cv-9gpx-6hwj, PYSEC-2026-619, RHSA-2017:3227, RHSA-2018:0315 and 2 more.