GIT gitweb privilege escalation

git-gitweb-privilege-escalation (47528) The risk level is classified as HighHigh Risk

Description:

GIT could allow a local attacker to gain elevated privileges on the system, caused by the improper verification of repository configuration variables by the gitweb implementation. A local attacker could exploit this vulnerability using a specially-crafted diff.external configuration variable to execute arbitrary commands on the system with the privileges of the victim.

*CVSS:

Base Score: 4.9
  Access Vector: Local
  Access Complexity: Low
  Authentication: Not Required
  Confidentiality Impact: Partial
  Integrity Impact: Partial
  Availability Impact: Partial
 
Temporal Score: 3.6
  Exploitability: Unproven
  Remediation Level: Official-Fix
  Report Confidence: Confirmed

Consequences:

Gain Privileges

Remedy:

Upgrade to the latest version of GIT (1.5.4.7, 1.5.5.6, 1.5.6.6, 1.6.0.6 or later), available from the GIT Web page. See References.

References:

  • git Web page: git(1) Manual Page.
  • gmane Mailing List, 2005-04-14 18:36:52 GMT: Re: Merge with git-pasky II..
  • CVE-2008-5916: gitweb/gitweb.perl in gitweb in Git 1.6.x before 1.6.0.6, 1.5.6.x before 1.5.6.6, 1.5.5.x before 1.5.5.6, 1.5.4.x before 1.5.4.7, and other versions after 1.4.3 allows local repository owners to execute arbitrary commands by modifying the diff.external configuration variable and executing a crafted gitweb query.
  • DSA-1708: git-core -- shell command injection
  • GLSA-200903-15: git: Multiple vulnerabilties
  • OSVDB ID: 50918: GIT gitweb/gitweb.perl diff.external Configuration Variable Crafted Query Local Privilege Escalation
  • SA33270: GIT "gitweb" Privilege Escalation Security Issue
  • USN-723-1: Git vulnerabilities

Platforms Affected:

  • Canonical Ubuntu 6.06 LTS
  • Canonical Ubuntu 7.10
  • Canonical Ubuntu 8.04 LTS
  • Canonical Ubuntu 8.10
  • Debian Debian Linux 4.0
  • Gentoo Linux
  • Git Git 1.4.3.1
  • Git Git 1.4.3.2
  • Git Git 1.4.3.3
  • Git Git 1.4.3.4
  • Git Git 1.4.3.5
  • Git Git 1.4.4
  • Git Git 1.4.4.1
  • Git Git 1.4.4.2
  • Git Git 1.4.4.3
  • Git Git 1.4.4.4
  • Git Git 1.5.0 Rc4
  • Git Git 1.5.0
  • Git Git 1.5.0 Rc3
  • Git Git 1.5.0 Rc2
  • Git Git 1.5.0.1
  • Git Git 1.5.0.2
  • Git Git 1.5.0.3
  • Git Git 1.5.0.4
  • Git Git 1.5.0.5
  • Git Git 1.5.0.6
  • Git Git 1.5.0.7
  • Git Git 1.5.1
  • Git Git 1.5.1.1
  • Git Git 1.5.1.2
  • Git Git 1.5.1.3
  • Git Git 1.5.1.4
  • Git Git 1.5.1.5
  • Git Git 1.5.1.6
  • Git Git 1.5.2
  • Git Git 1.5.2.1
  • Git Git 1.5.2.2
  • Git Git 1.5.2.3
  • Git Git 1.5.2.4
  • Git Git 1.5.2.5
  • Git Git 1.5.3
  • Git Git 1.5.3 Rc4
  • Git Git 1.5.3 Rc5
  • Git Git 1.5.3 Rc7
  • Git Git 1.5.3.1
  • Git Git 1.5.3.2
  • Git Git 1.5.3.3
  • Git Git 1.5.3.4
  • Git Git 1.5.3.5
  • Git Git 1.5.3.6
  • Git Git 1.5.3.7
  • Git Git 1.5.3.8
  • Git Git 1.5.4 Rc4
  • Git Git 1.5.4 Rc0
  • Git Git 1.5.4 Rc1
  • Git Git 1.5.4 Rc1.1136.G2794
  • Git Git 1.5.4 Rc2
  • Git Git 1.5.4 Rc3
  • Git Git 1.5.4 Rc5
  • Git Git 1.5.4
  • Git Git 1.5.4.1
  • Git Git 1.5.4.2
  • Git Git 1.5.4.3
  • Git Git 1.5.4.4
  • Git Git 1.5.4.5
  • Git Git 1.5.4.6
  • Git Git 1.5.5
  • Git Git 1.5.5 Rc1
  • Git Git 1.5.5 Rc3
  • Git Git 1.5.5 Rc2
  • Git Git 1.5.5.1
  • Git Git 1.5.5.2
  • Git Git 1.5.5.3 R1
  • Git GIT 1.5.5.3
  • Git GIT 1.5.5.4
  • Git Git 1.5.5.5
  • Git Git 1.5.6
  • Git GIT 1.5.6.1
  • Git GIT 1.5.6.2
  • Git GIT 1.5.6.3
  • Git Git 1.5.6.4
  • Git Git 1.5.6.5
  • Git Git 1.6.0
  • Git Git 1.6.0 Rc1
  • Git Git 1.6.0 Rc2
  • Git Git 1.6.0 Rc3
  • Git Git 1.6.0.1
  • Git Git 1.6.0.2
  • Git Git 1.6.0.3
  • Git Git 1.6.0.4
  • Git Git 1.6.0.5

Reported:

Apr 14, 2005

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page

* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

About IBM Security Systems

IBM Security Systems include an extensive portfolio of hardware, software solutions, professional and managed services offerings covering the spectrum of IT and business security risks: people and identity, data and information, application and process, network, server and endpoint and physical infrastructure, empowering clients to innovate and operate their businesses on the most secure infrastructure platforms. Through world-class solutions that address risk across the enterprise, IBM helps organizations build a strong security posture that helps reduce costs, improve service, and manage risk. IBM X-Force(R) Research and Development is one of the most renowned commercial security research and development groups in the world. For more information on how to address today's biggest risks, please visit us at ibm.com/security.