CVE-2012-4506 Path traversal in n/a

Medium 4.6 Published Updated

Authenticated users can exploit path traversal in gitolite to create arbitrary repositories and potentially escalate privileges.

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

CVE-2012-4506 is a medium-severity path traversal vulnerability in n/a, published on 22 Oct 2012. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Directory traversal vulnerability in gitolite 3.x before 3.1, when wild card repositories and a pattern matching "../" are enabled, allows remote authenticated users to create arbitrary repositories and possibly perform other actions via a .. (dot dot) in a repository name.

Weakness: CWE-22

Which versions are affected by CVE-2012-4506?

It affects 2 products.

Products include Gitolite Gitolite, Sitaram Chamarty Gitolite.

How do I fix CVE-2012-4506?

No fix has been published for CVE-2012-4506 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-4506 being exploited?

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

Sources

Also known as GHSA-v55m-w3r7-pwm6.

Is CVE-2012-4506 in your software?

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

Check your SBOMs for free