CVE-2012-3361 OpenStack Nova Arbitrary file injection/corruption through directory traversal issues

Medium 5.5 Published Updated

Authenticated users can overwrite arbitrary files via symlink attacks in OpenStack Compute, potentially compromising system integrity.

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-3361?

CVE-2012-3361 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

virt/disk/api.py in OpenStack Compute (Nova) Folsom (2012.2), Essex (2012.1), and Diablo (2011.3) allows remote authenticated users to overwrite arbitrary files via a symlink attack on a file in an image.

Weakness: CWE-264

Which versions are affected by CVE-2012-3361?

2 open source packages ship an affected version, including nova. It affects 3 products.

PackageAffectedFixed in
nova PyPIAll versions12.0.0a0
nova PyPIAll versions12.0.0a0

Products include Openstack Diablo, Openstack Essex, Openstack Folsom.

How do I fix CVE-2012-3361?

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-3361 being exploited?

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

Sources

Also known as DEBIAN-CVE-2012-3361, GHSA-cm54-3vvf-f5p8.

Is CVE-2012-3361 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free