Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jan 2009 08:26:25 +0300 (MSK)
From:      Eygene Ryabinkin <rea-fbsd@codelabs.ru>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/130600: [vuxml] devel/git: document privilege escalation in gitweb
Message-ID:  <20090116052625.511FADA830@void.codelabs.ru>
Resent-Message-ID: <200901160530.n0G5U12O038068@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         130600
>Category:       ports
>Synopsis:       [vuxml] devel/git: document privilege escalation in gitweb
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 16 05:30:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Eygene Ryabinkin
>Release:        FreeBSD 7.1-STABLE amd64
>Organization:
Code Labs
>Environment:

System: FreeBSD 7.1-STABLE amd64

>Description:

Gitweb privilege escalation that allows malicious repository owner
to run arbitrary commands with Web-server credentials was discovered
in git versions prior to 1.6.0.6, 1.5.6.6, 1.5.5.6 and 1.5.4.7 [1].

[1] http://marc.info/?l=git&m=122975564100860&w=2

>How-To-Repeat:

Look at the above mailing list message and the patches it contains.

>Fix:

The port was already updated at 2008-12-22, so we're safe here.

The following VuXML entry should be evaluated and added:
--- vuln.xml begins here ---
  <vuln vid="e8a285bf-e38b-11dd-8bb6-0022156e8794">
    <topic>git -- gitweb privilege escalation</topic>
    <affects>
      <package>
        <name>git</name>
        <range><lt>1.6.0.6</lt></range>
      </package>
    </affects>
    <description>
      <body xmlns="http://www.w3.org/1999/xhtml">;
        <p>Git maintainers report:</p>
        <blockquote
          cite="http://marc.info/?l=git&amp;m=122975564100860&amp;w=2">;
          <p>Current gitweb has a possible local privilege escalation
          bug that allows a malicious repository owner to run a command
          of his choice by specifying diff.external configuration
          variable in his repository and running a crafted gitweb
          query.</p>
        </blockquote>
      </body>
    </description>
    <references>
      <bid>32967</bid>
      <mlist msgid="7vhc4z1gys.fsf@gitster.siamese.dyndns.org">http://marc.info/?l=git&amp;m=122975564100860&amp;w=2</mlist>;
      <url>http://www.kernel.org/pub/software/scm/git/docs/RelNotes-1.6.0.6.txt</url>;
    </references>
    <dates>
      <discovery>2008-12-20</discovery>
      <entry>TODAY</entry>
    </dates>
  </vuln>
--- vuln.xml ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090116052625.511FADA830>