CVE-2012-5336 Path traversal in n/a

Medium 4.0 Published Updated

Authenticated users can read arbitrary files via WebDAV due to improper validation of the user_id session variable in ownCloud.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2012-5336?

CVE-2012-5336 is a medium-severity path traversal vulnerability in Owncloud Owncloud, published on 4 Jun 2014. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

lib/base.php in ownCloud before 4.0.8 does not properly validate the user_id session variable, which allows remote authenticated users to read arbitrary files via vectors related to WebDAV.

Weakness: CWE-20

Which versions are affected by CVE-2012-5336?

It affects 2 products.

Products include Owncloud Owncloud, Owncloud Owncloud Server.

How do I fix CVE-2012-5336?

No fix has been published for CVE-2012-5336 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2012-5336 being exploited?

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

All Owncloud Owncloud vulnerabilities

Sources

Also known as GHSA-7vw2-cghq-q23f.

Is CVE-2012-5336 in your software?

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

Check your SBOMs for free