Git gitweb 'diff.external' Local Privilege Escalation Vulnerability

BID:32967

Info

Git gitweb 'diff.external' Local Privilege Escalation Vulnerability

Bugtraq ID: 32967
Class: Design Error
CVE: CVE-2008-5916
Remote: No
Local: Yes
Published: Dec 22 2008 12:00AM
Updated: Mar 17 2011 07:47AM
Credit: This issue was disclosed by the vendor.
Vulnerable: Ubuntu Ubuntu Linux 8.10 sparc
Ubuntu Ubuntu Linux 8.10 powerpc
Ubuntu Ubuntu Linux 8.10 lpia
Ubuntu Ubuntu Linux 8.10 i386
Ubuntu Ubuntu Linux 8.10 amd64
Ubuntu Ubuntu Linux 8.04 LTS sparc
Ubuntu Ubuntu Linux 8.04 LTS powerpc
Ubuntu Ubuntu Linux 8.04 LTS lpia
Ubuntu Ubuntu Linux 8.04 LTS i386
Ubuntu Ubuntu Linux 8.04 LTS amd64
Ubuntu Ubuntu Linux 7.10 sparc
Ubuntu Ubuntu Linux 7.10 powerpc
Ubuntu Ubuntu Linux 7.10 lpia
Ubuntu Ubuntu Linux 7.10 i386
Ubuntu Ubuntu Linux 7.10 amd64
Ubuntu Ubuntu Linux 6.06 LTS sparc
Ubuntu Ubuntu Linux 6.06 LTS powerpc
Ubuntu Ubuntu Linux 6.06 LTS i386
Ubuntu Ubuntu Linux 6.06 LTS amd64
Sun Solaris 11 Express
Pardus Linux 2008 0
GIT GIT 1.6 5
GIT GIT 1.5.6 5
GIT GIT 1.5.6 .4
GIT GIT 1.5.6 .3
GIT GIT 1.5.5 5
GIT GIT 1.5.4 6
GIT GIT 1.1.5
GIT GIT 1.1.4
Gentoo Linux
Not Vulnerable: GIT GIT 1.6 6
GIT GIT 1.5.6 6
GIT GIT 1.5.5 6
GIT GIT 1.5.4 7

Discussion

Git gitweb 'diff.external' Local Privilege Escalation Vulnerability

Git gitweb is prone to a local privilege-escalation vulnerability.

A local attacker may exploit this issue to gain elevated privileges.

Versions prior to Git 1.5.4.7, 1.5.5.6, 1.5.6.6, and 1.6.0.6 are vulnerable.

Exploit / POC

Git gitweb 'diff.external' Local Privilege Escalation Vulnerability

Attackers can use readily available command-line tools to exploit this issue.

Solution / Fix

Git gitweb 'diff.external' Local Privilege Escalation Vulnerability

Solution:
Updates are available; please see the references for more information.


Ubuntu Ubuntu Linux 7.10 i386

Ubuntu Ubuntu Linux 8.10 lpia

Ubuntu Ubuntu Linux 6.06 LTS amd64

Ubuntu Ubuntu Linux 7.10 powerpc

Ubuntu Ubuntu Linux 8.10 sparc

Ubuntu Ubuntu Linux 8.04 LTS powerpc

Ubuntu Ubuntu Linux 8.10 powerpc

Ubuntu Ubuntu Linux 8.10 i386

Ubuntu Ubuntu Linux 8.04 LTS sparc

Ubuntu Ubuntu Linux 7.10 amd64

Ubuntu Ubuntu Linux 6.06 LTS sparc

Ubuntu Ubuntu Linux 8.04 LTS i386

Ubuntu Ubuntu Linux 8.04 LTS amd64

Ubuntu Ubuntu Linux 6.06 LTS powerpc

Ubuntu Ubuntu Linux 7.10 sparc

Ubuntu Ubuntu Linux 8.10 amd64

Ubuntu Ubuntu Linux 8.04 LTS lpia

Ubuntu Ubuntu Linux 6.06 LTS i386

Ubuntu Ubuntu Linux 7.10 lpia

GIT GIT 1.5.4 6

GIT GIT 1.5.5 5

GIT GIT 1.5.6 5

GIT GIT 1.5.6 .4

GIT GIT 1.5.6 .3

GIT GIT 1.6 5

References

© CVE.report 2026

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. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report