Summary
Detail | |||
---|---|---|---|
Vendor | Git | First view | 2006-01-31 |
Product | Git | Last view | 2020-04-21 |
Version | 1.0.0 | Type | Application |
Update | * | ||
Edition | * | ||
Language | * | ||
Sofware Edition | * | ||
Target Software | * | ||
Target Hardware | * | ||
Other | * | ||
CPE Product | cpe:2.3:a:git:git |
Activity : Overall
Related : CVE
Date | Alert | Description | |
---|---|---|---|
7.5 | 2020-04-21 | CVE-2020-11008 | Affected versions of Git have a vulnerability whereby Git can be tricked into sending private credentials to a host controlled by an attacker. This bug is similar to CVE-2020-5260(GHSA-qm7j-c969-7j4q). The fix for that bug still left the door open for an exploit where _some_ credential is leaked (but the attacker cannot control which one). Git uses external "credential helper" programs to store and retrieve passwords or other credentials from secure storage provided by the operating system. Specially-crafted URLs that are considered illegal as of the recently published Git versions can cause Git to send a "blank" pattern to helpers, missing hostname and protocol fields. Many helpers will interpret this as matching _any_ URL, and will return some unspecified stored password, leaking the password to an attacker's server. The vulnerability can be triggered by feeding a malicious URL to `git clone`. However, the affected URLs look rather suspicious; the likely vector would be through systems which automatically clone URLs not visible to the user, such as Git submodules, or package systems built around Git. The root of the problem is in Git itself, which should not be feeding blank input to helpers. However, the ability to exploit the vulnerability in practice depends on which helpers are in use. Credential helpers which are known to trigger the vulnerability: - Git's "store" helper - Git's "cache" helper - the "osxkeychain" helper that ships in Git's "contrib" directory Credential helpers which are known to be safe even with vulnerable versions of Git: - Git Credential Manager for Windows Any helper not in this list should be assumed to trigger the vulnerability. |
7.5 | 2020-04-14 | CVE-2020-5260 | Affected versions of Git have a vulnerability whereby Git can be tricked into sending private credentials to a host controlled by an attacker. Git uses external "credential helper" programs to store and retrieve passwords or other credentials from secure storage provided by the operating system. Specially-crafted URLs that contain an encoded newline can inject unintended values into the credential helper protocol stream, causing the credential helper to retrieve the password for one server (e.g., good.example.com) for an HTTP request being made to another server (e.g., evil.example.com), resulting in credentials for the former being sent to the latter. There are no restrictions on the relationship between the two, meaning that an attacker can craft a URL that will present stored credentials for any host to a host of their choosing. The vulnerability can be triggered by feeding a malicious URL to git clone. However, the affected URLs look rather suspicious; the likely vector would be through systems which automatically clone URLs not visible to the user, such as Git submodules, or package systems built around Git. The problem has been patched in the versions published on April 14th, 2020, going back to v2.17.x. Anyone wishing to backport the change further can do so by applying commit 9a6bbee (the full release includes extra checks for git fsck, but that commit is sufficient to protect clients against the vulnerability). The patched versions are: 2.17.4, 2.18.3, 2.19.4, 2.20.3, 2.21.2, 2.22.3, 2.23.2, 2.24.2, 2.25.3, 2.26.1. |
9.8 | 2020-01-24 | CVE-2019-1353 | An issue was found in Git before v2.24.1, v2.23.1, v2.22.2, v2.21.1, v2.20.2, v2.19.3, v2.18.2, v2.17.3, v2.16.6, v2.15.4, and v2.14.6. When running Git in the Windows Subsystem for Linux (also known as "WSL") while accessing a working directory on a regular Windows drive, none of the NTFS protections were active. |
3.3 | 2020-01-24 | CVE-2019-1348 | An issue was found in Git before v2.24.1, v2.23.1, v2.22.2, v2.21.1, v2.20.2, v2.19.3, v2.18.2, v2.17.3, v2.16.6, v2.15.4, and v2.14.6. The --export-marks option of git fast-import is exposed also via the in-stream command feature export-marks=... and it allows overwriting arbitrary paths. |
8.8 | 2019-12-18 | CVE-2019-1387 | An issue was found in Git before v2.24.1, v2.23.1, v2.22.2, v2.21.1, v2.20.2, v2.19.3, v2.18.2, v2.17.3, v2.16.6, v2.15.4, and v2.14.6. Recursive clones are currently affected by a vulnerability that is caused by too-lax validation of submodule names, allowing very targeted attacks via remote code execution in recursive clones. |
7.8 | 2019-12-11 | CVE-2019-19604 | Arbitrary command execution is possible in Git before 2.20.2, 2.21.x before 2.21.1, 2.22.x before 2.22.2, 2.23.x before 2.23.1, and 2.24.x before 2.24.1 because a "git submodule update" operation can run commands found in the .gitmodules file of a malicious repository. |
4.3 | 2010-12-17 | CVE-2010-3906 | Cross-site scripting (XSS) vulnerability in Gitweb 1.7.3.3 and earlier allows remote attackers to inject arbitrary web script or HTML via the (1) f and (2) fp parameters. |
7.5 | 2009-01-20 | CVE-2008-5516 | 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. |
7.5 | 2006-01-31 | CVE-2006-0477 | Buffer overflow in git-checkout-index in GIT before 1.1.5 allows remote attackers to execute arbitrary code via an index file with a long symbolic link. |
CWE : Common Weakness Enumeration
% | id | Name |
---|---|---|
33% (2) | CWE-522 | Insufficiently Protected Credentials |
16% (1) | CWE-264 | Permissions, Privileges, and Access Controls |
16% (1) | CWE-79 | Failure to Preserve Web Page Structure ('Cross-site Scripting') |
16% (1) | CWE-78 | Improper Sanitization of Special Elements used in an OS Command ('O... |
16% (1) | CWE-20 | Improper Input Validation |
Open Source Vulnerability Database (OSVDB)
id | Description |
---|---|
69929 | Gitweb index.php Multiple Parameter XSS |
53539 | GIT gitweb git_search Shell Metacharacter Arbitrary Command Execution |
22794 | GIT git-checkout-index Symbolic Link Handling Overflow |
ExploitDB Exploits
id | Description |
---|---|
15744 | Gitweb <=1.7.3.3 Cross Site Scripting |
11497 | gitWeb v1.5.2 Remote Command Execution |
OpenVAS Exploits
id | Description |
---|---|
2011-01-11 | Name : Fedora Update for git FEDORA-2010-18973 File : nvt/gb_fedora_2010_18973_git_fc13.nasl |
2010-12-28 | Name : Fedora Update for git FEDORA-2010-18981 File : nvt/gb_fedora_2010_18981_git_fc14.nasl |
2010-12-28 | Name : Mandriva Update for git MDVSA-2010:256 (git) File : nvt/gb_mandriva_MDVSA_2010_256.nasl |
2009-06-05 | Name : Ubuntu USN-707-1 (cupsys) File : nvt/ubuntu_707_1.nasl |
2009-06-05 | Name : Ubuntu USN-723-1 (git-core) File : nvt/ubuntu_723_1.nasl |
2009-03-13 | Name : Gentoo Security Advisory GLSA 200903-15 (git) File : nvt/glsa_200903_15.nasl |
2009-01-20 | Name : Debian Security Advisory DSA 1708-1 (git-core) File : nvt/deb_1708_1.nasl |
0000-00-00 | Name : Slackware Advisory SSA:2009-051-02 git File : nvt/esoft_slk_ssa_2009_051_02.nasl |
Nessus® Vulnerability Scanner
id | Description |
---|---|
2014-06-13 | Name: The remote openSUSE host is missing a security update. File: suse_11_3_git-110117.nasl - Type: ACT_GATHER_INFO |
2013-07-12 | Name: The remote Oracle Linux host is missing one or more security updates. File: oraclelinux_ELSA-2010-1003.nasl - Type: ACT_GATHER_INFO |
2012-08-01 | Name: The remote Scientific Linux host is missing one or more security updates. File: sl_20101221_git_on_SL6_x.nasl - Type: ACT_GATHER_INFO |
2011-05-05 | Name: The remote openSUSE host is missing a security update. File: suse_11_2_git-110117.nasl - Type: ACT_GATHER_INFO |
2011-04-08 | Name: The remote web server contains a CGI script that can be abused to execute arb... File: gitweb_git_search_cmd_exec.nasl - Type: ACT_ATTACK |
2011-01-04 | Name: The remote Fedora host is missing a security update. File: fedora_2010-18973.nasl - Type: ACT_GATHER_INFO |
2010-12-26 | Name: The remote Fedora host is missing a security update. File: fedora_2010-18981.nasl - Type: ACT_GATHER_INFO |
2010-12-23 | Name: The remote web server hosts a CGI script that is prone to a cross- site scrip... File: gitweb_f_xss.nasl - Type: ACT_ATTACK |
2010-12-22 | Name: The remote Red Hat host is missing one or more security updates. File: redhat-RHSA-2010-1003.nasl - Type: ACT_GATHER_INFO |
2010-12-17 | Name: The remote Mandriva Linux host is missing one or more security updates. File: mandriva_MDVSA-2010-256.nasl - Type: ACT_GATHER_INFO |
2009-04-23 | Name: The remote Ubuntu host is missing one or more security-related patches. File: ubuntu_USN-723-1.nasl - Type: ACT_GATHER_INFO |
2009-03-10 | Name: The remote Gentoo host is missing one or more security-related patches. File: gentoo_GLSA-200903-15.nasl - Type: ACT_GATHER_INFO |
2009-02-23 | Name: The remote Slackware host is missing a security update. File: Slackware_SSA_2009-051-02.nasl - Type: ACT_GATHER_INFO |
2009-01-20 | Name: The remote Debian host is missing a security-related update. File: debian_DSA-1708.nasl - Type: ACT_GATHER_INFO |