Path traversal in gitolite - CVE-2012-4506

 

Path traversal in gitolite - CVE-2012-4506

Published: October 23, 2012 / Updated: August 11, 2020


Vulnerability identifier: #VU43387
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2012-4506
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: sitaramc (Sitaram Chamarty)
Affected software:
gitolite

Detailed vulnerability description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences in gitolite 3.x before 3.1, when wild card repositories and a pattern matching "./" are enabled,. A remote authenticated attacker can send a specially crafted HTTP request and remote authenticated users to create arbitrary repositories and possibly perform other actions via a . (dot dot) in a repository name.


How to mitigate CVE-2012-4506

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

Sources