git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: security flaw with smart http

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 22, 2012, 19:34 UTC
Message-ID
<7vmx3vp2co.fsf@alter.siamese.dyndns.org>
In-Reply-To
<CAJo=hJvCC8_oFFMyc5Fkweg6A6cSV6z+UxeCkvnU34KQfYx91w@mail.gmail.com>
Shawn Pearce <spearce@spearce.org> writes:
Show 8 quoted lines
> On Fri, Jun 22, 2012 at 3:12 AM, Ivan Kanis <ivan.kanis@googlemail.com> wrote:
>> I think we found a security flaw with git http smart backend. We are
>> running git version 1.0.7.4 on our server. Adding random words after the
>> password and the authentication still succeeds.
>
> git http-backend does not handle authentication or authorization. This
> is handled in your web server. You should consult your web server's
> documentation, and maybe its configuration files.
Very good advice.
> Git is freely available under the GPLv2 license. I believe it is
> possible for you to attempt experiments yourself with more up-to-date
> versions if you wish.

And the result is very unlikely to change, if the only change between the earlier experiment and the next one is the vintage of Git used, as the part that makes authentication decision is Ivan's webserver and its configuration, which is not going to change between the two experiments.

I do not recall ever releasing 1.0.7.4, nor having smart http support before v1.6.6, by the way.

Previous: Shawn PearceNext: Philippe Vaucher
Message 3 of 7 in “security flaw with smart http”
  1. Ivan KanisJun 22, 2012
  2. Shawn PearceJun 22, 2012
  3. Junio C HamanoJun 22, 2012
  4. Philippe VaucherJun 25, 2012
  5. Ivan KanisJun 25, 2012
  6. Erik Faye-LundJun 25, 2012
  7. Ivan KanisJun 28, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.