PT-2016-4079 · Git · Git-Fastclone
Bburky
·
Publicado
2016-11-03
·
Atualizado
2020-06-10
·
CVE-2015-8968
CVSS v2.0
9.3
Alta
| Vetor | AV:N/AC:M/Au:N/C:C/I:C/A:C |
Name of the Vulnerable Software and Affected Versions
git-fastclone versions prior to 1.0.1
Description
The issue allows for arbitrary shell command execution from .gitmodules. An attacker can exploit this by instructing a user to run a recursive clone from a controlled repository, or by performing a man-in-the-middle (MITM) attack on an unencrypted git clone. The
ext command will be executed when the repository is recursively cloned or when submodules are updated. This attack is effective for both local and remote repository clones.Recommendations
For git-fastclone versions prior to 1.0.1, update to version 1.0.1 or later to resolve the issue. As a temporary workaround, consider avoiding recursive clones and submodule updates from untrusted repositories. Restrict access to the
ext command to minimize the risk of exploitation.Exploit
Correção
Command Injection
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Enumeração de Fraquezas
Identificadores relacionados
Produtos afetados
Git-Fastclone