CVE-2012-3360 OpenStack Nova Directory traversal vulnerability
Remote authenticated users can write arbitrary files to disk images via path traversal in OpenStack Compute.
- 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-2012-3360?
CVE-2012-3360 is a medium-severity path traversal vulnerability in n/a, published on 22 Jul 2012. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Directory traversal vulnerability in virt/disk/api.py in OpenStack Compute (Nova) Folsom (2012.2) and Essex (2012.1), when used over libvirt-based hypervisors, allows remote authenticated users to write arbitrary files to the disk image via a .. (dot dot) in the path attribute of a file element.
Weakness: CWE-22
Which versions are affected by CVE-2012-3360?
2 open source packages ship an affected version, including nova. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
nova PyPI | All versions | 12.0.0a0 |
nova PyPI | All versions | 12.0.0a0 |
Products include Openstack Essex, Openstack Folsom.
How do I fix CVE-2012-3360?
Upgrade nova to 12.0.0a0 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2012-3360 being exploited?
There is no known exploitation of CVE-2012-3360 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2013-0261 Packstack: packstack: arbitrary file overwrite via symlink attack
- CVE-2013-0266 Information disclosure in Red Hat Enterprise Linux OpenStack Platform 5 (Icehouse)
- CVE-2012-4573 OpenStack Glance arbitrary deletion of non-protected images
- CVE-2012-5482 OpenStack Glance arbitrary deletion of non-protected images
- CVE-2012-5571 Openstack keystone: openstack keystone: authorization bypass via improper ec2 token handling
Sources
Also known as DEBIAN-CVE-2012-3360, GHSA-m454-cm7h-rqhh.