PT-2023-5861 · Git · Git For Windows

·

CVE-2023-29011

·

Publicado

2023-04-25

·

Atualizado

2023-05-04

CVSS v3.1

7.5

Alta

VetorAV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Git for Windows versions prior to 2.40.1
Description The issue is related to the executable file connect.exe in Git for Windows, which implements a SOCKS5 proxy. This vulnerability is associated with an uncontrolled search path element. Exploitation of the vulnerability may allow an attacker to execute arbitrary code. The problem arises because the location of connect.exe's config file is hard-coded, and any authenticated user can create the directory where the config file is located, making it susceptible to malicious files.
Recommendations For versions prior to 2.40.1, update to Git for Windows version 2.40.1 to resolve the issue. As a temporary workaround, create the folder etc on all drives where Git commands are run, and remove read/write access from those folders. Alternatively, watch out for malicious :etcconnectrc files on multi-user machines.

Exploit

Correção

Uncontrolled Search Path Element

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

BDU:2023-06554
CVE-2023-29011
GHSA-G4FV-XJQW-Q7JM

Produtos afetados

Git For Windows