PYSEC-2016-22: OpenStack Murano Code Execution
OpenStack Murano before 1.0.3 (liberty) and 2.x before 2.0.1 (mitaka), Murano-dashboard before 1.0.3 (liberty) and 2.x before 2.0.1 (mitaka), and python-muranoclient before 0.7.3 (liberty) and 0.8.x before 0.8.5 (mitaka) improperly use loaders inherited from yaml.Loader when parsing MuranoPL and UI files, which allows remote attackers to create arbitrary Python objects and execute arbitrary code via crafted extended YAML tags in UI definitions in packages.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
pip/muranoto a version that resolves this vulnerability.Fixed in 1.0.3 - Upgrade
Upgrade
pip/murano-dashboardto a version that resolves this vulnerability.Fixed in 1.0.3 - Upgrade
Upgrade
pip/murano-dashboardto a version that resolves this vulnerability.Fixed in 2.0.1 - Upgrade
Upgrade
pip/python-muranoclientto a version that resolves this vulnerability.Fixed in 0.7.3 - Upgrade
Upgrade
pip/python-muranoclientto a version that resolves this vulnerability.Fixed in 0.8.5
Event History
Frequently Asked Questions
Which deployments are exposed?
Deployments using OpenStack Murano or Murano-dashboard before 1.0.3 in Liberty or before 2.0.1 in the 2.x Mitaka line are affected. The python-muranoclient is also affected before 0.7.3 in Liberty and before 0.8.5 in the 0.8.x Mitaka line.
What does an attacker need to exploit this issue?
An attacker can exploit the issue remotely without privileges or user interaction by supplying a package containing UI definitions with crafted extended YAML tags. The vulnerable YAML parsing can create arbitrary Python objects and lead to arbitrary code execution.
What should be done if patching is not immediately possible?
The provided data identifies crafted UI definitions in packages as the attack vector. Until updates can be applied, restrict acceptance and deployment of Murano packages to trusted sources and avoid processing untrusted package UI definitions.