Bug 1753854 (CVE-2012-4506)

Summary: CVE-2012-4506 gitolite: wild card repositories and pattern matching "../" are enabled causing directory traversal
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: contribs, extras-orphan, gwync, jtfas90, lkundrak, opensource
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: gitolite 3.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-20 13:32:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1753855, 1753856    
Bug Blocks:    

Description Dhananjay Arunesh 2019-09-20 05:15:31 UTC
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.

Reference:
http://www.openwall.com/lists/oss-security/2012/10/10/1
http://www.openwall.com/lists/oss-security/2012/10/10/2
https://github.com/sitaramc/gitolite/commit/f636ce3ba3e340569b26d1e47b9d9b62dd8a3bf2
https://groups.google.com/forum/#!topic/gitolite/K9SnQNhCQ-0/discussion

Comment 1 Dhananjay Arunesh 2019-09-20 05:15:53 UTC
Created gitolite tracking bugs for this issue:

Affects: epel-6 [bug 1753856]
Affects: fedora-29 [bug 1753855]

Comment 2 Gwyn Ciesla 2019-09-20 13:32:00 UTC
Does not affect version 2. https://groups.google.com/forum/#!topic/gitolite/K9SnQNhCQ-0/discussion