Git bis 2.40.0 auf Windows git.exe Directory Traversal
| CVSS Meta Temp Score | Aktueller Exploitpreis (≈) | CTI Interest Score |
|---|---|---|
| 2.9 | $0-$5k | 0.00 |
Zusammenfassung
Es wurde eine Schwachstelle in Git für Windows ausgemacht. Sie wurde als kritisch eingestuft. Dabei betrifft es einen unbekannter Codeteil der Datei git.exe. Durch das Manipulieren mit unbekannten Daten kann eine Directory Traversal-Schwachstelle ausgenutzt werden. Die Verwundbarkeit wird als CVE-2023-25815 geführt. Der Angriff hat dabei lokal zu erfolgen. Ausserdem ist ein Exploit verfügbar. Es wird empfohlen, die betroffene Komponente zu aktualisieren.
Details
Eine problematische Schwachstelle wurde in Git auf Windows (Versioning Software) entdeckt. Davon betroffen ist eine unbekannte Funktion der Datei git.exe. Durch die Manipulation mit einer unbekannten Eingabe kann eine Directory Traversal-Schwachstelle ausgenutzt werden. Klassifiziert wurde die Schwachstelle durch CWE als CWE-22. Wie sich eine durchgeführte Attacke auswirkt, ist soweit nicht bekannt. CVE fasst zusammen:
In Git for Windows, the Windows port of Git, no localized messages are shipped with the installer. As a consequence, Git is expected not to localize messages at all, and skips the gettext initialization. However, due to a change in MINGW-packages, the `gettext()` function's implicit initialization no longer uses the runtime prefix but uses the hard-coded path `C:\mingw64\share\locale` to look for localized messages. And since any authenticated user has the permission to create folders in `C:\` (and since `C:\mingw64` does not typically exist), it is possible for low-privilege users to place fake messages in that location where `git.exe` will pick them up in version 2.40.1.
This vulnerability is relatively hard to exploit and requires social engineering. For example, a legitimate message at the end of a clone could be maliciously modified to ask the user to direct their web browser to a malicious website, and the user might think that the message comes from Git and is legitimate. It does require local write access by the attacker, though, which makes this attack vector less likely. Version 2.40.1 contains a patch for this issue. Some workarounds are available. Do not work on a Windows machine with shared accounts, or alternatively create a `C:\mingw64` folder and leave it empty. Users who have administrative rights may remove the permission to create folders in `C:\`.Die Schwachstelle wurde am 25.04.2023 als GHSA-9w66-8mq8-5vm8 veröffentlicht. Auf github.com kann das Advisory eingesehen werden. Die Identifikation der Schwachstelle findet seit dem 15.02.2023 als CVE-2023-25815 statt. Es sind sowohl technische Details als auch ein öffentlicher Exploit zur Schwachstelle bekannt. MITRE ATT&CK führt die Angriffstechnik T1006 für diese Schwachstelle.
Unter axcheron.github.io wird der Exploit zum Download angeboten. Er wird als proof-of-concept gehandelt.
Ein Upgrade auf die Version 2.40.1 vermag dieses Problem zu beheben. Eine neue Version kann von github.com bezogen werden. Die Schwachstelle lässt sich auch durch das Einspielen eines Patches beheben. Dieser kann von github.com bezogen werden. Als bestmögliche Massnahme wird das Aktualisieren auf eine neue Version empfohlen.
If you want to get best quality of vulnerability data, you may have to visit VulDB.
Produkt
Typ
Name
Version
- 0.0.20080710
- 0.0.20090320
- 0.1.1
- 0.7.2
- 0.10.3
- 0.22.2
- 1
- 1.0.0
- 1.0.0b
- 1.0.1
- 1.0.3
- 1.0.4
- 1.0.5
- 1.0.6
- 1.0.7
- 1.0.8
- 1.1.0
- 1.1.0.0
- 1.1.1
- 1.1.2
- 1.1.3
- 1.1.4
- 1.1.5
- 1.3.0
- 1.3.1
- 1.4.2.2
- 1.5.2.1
- 1.5.5.3
- 1.5.5.4
- 1.5.6.1
- 1.5.6.2
- 1.5.6.3
- 1.6.0.2
- 1.7.0
- 1.8.1.3
- 1.8.2
- 1.9.3
- 1.11.0
- 1.13.0
- 1.13.2
- 2.0
- 2.0.2
- 2.0.289
- 2.1.1
- 2.1.2
- 2.3.10
- 2.4.9
- 2.4.10
- 2.4.12
- 2.5.0
- 2.5.3
- 2.5.4
- 2.5.5
- 2.5.6
- 2.6.0
- 2.6.1
- 2.6.6
- 2.6.7
- 2.7.4
- 2.7.5
- 2.8.0
- 2.8.0-rc3
- 2.8.4
- 2.8.5
- 2.9.3
- 2.9.4
- 2.10.2
- 2.10.3
- 2.10.5
- 2.11.1
- 2.11.2
- 2.11.3
- 2.11.4
- 2.12.0
- 2.12.2
- 2.12.3
- 2.12.4
- 2.12.5
- 2.13.2
- 2.13.5
- 2.13.6
- 2.13.7
- 2.14.1
- 2.14.2
- 2.14.3
- 2.14.4
- 2.14.5
- 2.14.6
- 2.15.1
- 2.15.2
- 2.15.3
- 2.15.4
- 2.16.3
- 2.16.4
- 2.16.5
- 2.16.6
- 2.17.0
- 2.17.1
- 2.17.2
- 2.17.3
- 2.17.4
- 2.18.0
- 2.18.1
- 2.18.2
- 2.18.3
- 2.19.0
- 2.19.1
- 2.19.2
- 2.19.3
- 2.19.4
- 2.20.1
- 2.20.2
- 2.20.3
- 2.21.0
- 2.21.1
- 2.21.2
- 2.22.1
- 2.22.2
- 2.22.3
- 2.23.0
- 2.23.1
- 2.23.2
- 2.24.0
- 2.24.1
- 2.24.2
- 2.25.2
- 2.25.3
- 2.26.0
- 2.26.1
- 2.30.1
- 2.30.5
- 2.30.6
- 2.30.8
- 2.30.9
- 2.31.1-2
- 2.31.3
- 2.31.4
- 2.31.5
- 2.31.6
- 2.31.7
- 2.31.8
- 2.32.2
- 2.32.3
- 2.32.4
- 2.32.5
- 2.32.6
- 2.32.7
- 2.33.3
- 2.33.4
- 2.33.5
- 2.33.6
- 2.33.7
- 2.33.8
- 2.34.3
- 2.34.4
- 2.34.5
- 2.34.6
- 2.34.7
- 2.34.8
- 2.35.3
- 2.35.4
- 2.35.5
- 2.35.6
- 2.35.7
- 2.35.8
- 2.36.1
- 2.36.2
- 2.36.3
- 2.36.4
- 2.36.5
- 2.36.6
- 2.37.0
- 2.37.1
- 2.37.3
- 2.37.4
- 2.37.5
- 2.37.6
- 2.37.7
- 2.38.3
- 2.38.4
- 2.38.5
- 2.39.1
- 2.39.2
- 2.39.3
- 2.40.0
Lizenz
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Zuverlässigkeit: 🔍
CVSSv3
VulDB Meta Base Score: 3.0VulDB Meta Temp Score: 2.9
VulDB Base Score: 3.6
VulDB Temp Score: 3.3
VulDB Vector: 🔍
VulDB Zuverlässigkeit: 🔍
NVD Base Score: 2.2
NVD Vector: 🔍
CNA Base Score: 3.3
CNA Vector (GitHub, Inc.): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vektor | Komplexität | Authentisierung | Vertraulichkeit | Integrität | Verfügbarkeit |
|---|---|---|---|---|---|
| freischalten | freischalten | freischalten | freischalten | freischalten | freischalten |
| freischalten | freischalten | freischalten | freischalten | freischalten | freischalten |
| freischalten | freischalten | freischalten | freischalten | freischalten | freischalten |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Zuverlässigkeit: 🔍
Exploiting
Klasse: Directory TraversalCWE: CWE-22
CAPEC: 🔍
ATT&CK: 🔍
Physisch: Teilweise
Lokal: Ja
Remote: Teilweise
Verfügbarkeit: 🔍
Zugang: öffentlich
Status: Proof-of-Concept
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Preisentwicklung: 🔍
Aktuelle Preisschätzung: 🔍
| 0-Day | freischalten | freischalten | freischalten | freischalten |
|---|---|---|---|---|
| Heute | freischalten | freischalten | freischalten | freischalten |
Threat Intelligence
Interesse: 🔍Aktive Akteure: 🔍
Aktive APT Gruppen: 🔍
Gegenmassnahmen
Empfehlung: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Git 2.40.1
Patch: github.com
Timeline
15.02.2023 🔍25.04.2023 🔍
25.04.2023 🔍
26.06.2024 🔍
Quellen
Advisory: GHSA-9w66-8mq8-5vm8Status: Bestätigt
CVE: CVE-2023-25815 (🔍)
GCVE (CVE): GCVE-0-2023-25815
GCVE (VulDB): GCVE-100-227450
scip Labs: https://www.scip.ch/?labs.20161013
Eintrag
Erstellt: 25.04.2023 22:47Aktualisierung: 26.06.2024 14:59
Anpassungen: 25.04.2023 22:47 (56), 20.05.2023 10:05 (11), 26.06.2024 14:59 (16)
Komplett: 🔍
Cache ID: 216::103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
Bisher keine Kommentare. Sprachen: de + en.
Bitte loggen Sie sich ein, um kommentieren zu können.