FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

gitolite -- path traversal vulnerability

Affected packages
3.01 <= gitolite <= 3.04

Details

VuXML ID f94befcd-1289-11e2-a25e-525400272390
Discovery 2012-10-09
Entry 2012-10-15

Sitaram Chamarty reports:

I'm sorry to say there is a potential path traversal vulnerability in v3. Thanks to Stephane Chazelas for finding it and alerting me.

Can it affect you? This can only affect you if you are using wild card repos, *and* at least one of your patterns allows the string "../" to match multiple times.

How badly can it affect you? A malicious user who *also* has the ability to create arbitrary files in, say, /tmp (e.g., he has his own userid on the same box), can compromise the entire "git" user. Otherwise the worst he can do is create arbitrary repos in /tmp.

References

CVE Name CVE-2012-4506
Message CAMK1S_jotna+d_X2C-+es-M28i1aUBcsNeiXxwJ63EshQ8ht6w@mail.gmail.com