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

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

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

피드문의개인정보© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
CVE-2025-69413-PoC — CVE-2025-69413 — Gitea API user enumeration PoC via auth error differentiation | Kitploit
도구/GitHubGitHub/fuad00/cve-2025-69413-poc
Password AttacksVulnerability AnalysisExploitationInformation GatheringWeb SecurityPenetration TestingAuthenticationAPI Security
GitHubfuad00/cve-2025-69413-poc

CVE-2025-69413-PoC

CVE-2025-69413 — Gitea API user enumeration PoC via auth error differentiation

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

CVE-2025-69413-PoC

Gitea user enumeration via differential API authentication responses.

⚠️ Disclaimer This project is published for educational and research purposes only. Use it solely against systems you are explicitly authorized to test (your own lab, a bug-bounty program, or with written permission from the owner). The authors accept no liability for any misuse, damage, or violation of law resulting from use of this code.


The vulnerability (CVE-2025-69413)

Gitea's apiAuth middleware (routers/api/v1/api.go) handled Basic-authentication failures by passing a detailed error message straight into the HTTP response. Because the payload differs between the user-does-not-exist case and the wrong-password case, an unauthenticated attacker can turn any /api/v1/* endpoint that performs Basic auth into a username-existence oracle — and even recover the internal uid of existing accounts.

The fix replaces the verbose responses with a generic static message ("invalid username or password") in both apiAuth and webAuth.

Observed response signatures

Response body (JSON)Meaning
{"message":"user does not exist [uid: 0, name: <u>, keyid: 0]", ...}username is not registered
{"message":"user's password is invalid [uid: N, name: <u>]", ...}username exists, leaked uid: N, password guess was wrong
{"message":"Email address does not exist [email: <e>]", ...}separate oracle branch for e-mail style principals

An additional wrinkle worth documenting: the e-mail path produces its own distinctive message, giving a third classifiable answer.

What this PoC does

  1. Stage 1 — user enumeration. Sends GET /api/v1/user with <candidate>:<dummy-password> and classifies the JSON response.
  2. Stage 2 — optional confirmation. For every confirmed user, tries a small wordlist; a correct password flips the answer to HTTP 200 and prints valid credentials found during testing.

Requirements

pip install -r requirements.txt     # requests

Python 3.9+.

Usage

Enumerate the built-in default list:

python3 exploit.py https://gitea.example.com

Enumerate a custom user list:

python3 exploit.py https://gitea.example.com -U users.txt

Probe one specific account:

python3 exploit.py https://gitea.example.com -u admin

Add a password-confirmation stage:

python3 exploit.py https://gitea.example.com -U users.txt -P passwords.txt

Full options:

positional:
  host                    base URL, e.g. https://gitea.example.com

optional:
  -U, --users-file        usernames file (one per line)
  -P, --passwords-file    candidate passwords file (stage 2)
  -u, --single-user       probe a single username
  --api-path              endpoint (default /api/v1/user)
  -t, --threads           parallel workers, default 4
  --delay                 per-thread delay between requests, seconds
  --proxy                 optional http(s) proxy
  --verify-tls            verify TLS certs (off by default for lab setups)

Be considerate: keep threads low (-t 4) and add delay when testing production systems you have permission to assess.

Example output

[*] Target: https://gitea.example.com/api/v1/user
[*] Probing 6 username(s)...
  [ ] admin                   NOT_FOUND      uid=       http=401
  [+] devops-admin            EXISTS         uid=1      http=401
  [~] [email protected]      EMAIL_UNKNOWN             http=401

Mitigations / remediation checklist

  • Upgrade Gitea to a release containing the generic-error patch.
  • As a workaround, restrict /api/v1/* at the reverse-proxy level and/or enforce rate limiting + fail2ban on repeated 401s.
  • Monitor logs for bursts of distinct usernames against a single endpoint — the attack produces exactly that pattern.

Responsible disclosure note

If you discover this behavior on a third-party instance, report it to their security contact rather than exploiting it beyond verification. Enumeration of real accounts may violate terms of service and local law where performed without authorization.

License

MIT

도구 다운로드

관련 도구

  • hashcat

    세계에서 가장 빠르고 진보된 비밀번호 복구 유틸리티

  • john

    John the Ripper jumbo - 수백 가지 해시 및 암호화 유형을 지원하고 다양한 운영 체제, CPU, GPU 및 일부 FPGA에서 실행되는 고급 오프라인 암호 크래커입니다.

  • thc-hydra

    hydra

인기

모두 보기 →

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

  • 1

    ghostlock-app

    yukonga/ghostlock-app

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

    750
  • 2

    IMSIcatcher

    28zaaky/imsicatcher

    SMS를 가로채고, 메시지를 주입하며, 모바일 기기를 추적하기 위해 악성 GSM 셀을 배포하는 IMSI Catcher 플랫폼

    739
  • 3

    Callisto

    jetp1ane/callisto

    Ghidra를 통해 실행 파일을 디컴파일하고, Semgrep으로 의사 C 코드를 스캔하며, GPT-3.5-Turbo를 사용하여 결과를 검증해 거짓 양성을 줄이는 자동화된 바이너리 취약점 분석 도구입니다.

    585
  • 4

    opencti

    opencti-platform/opencti

    오픈 사이버 위협 인텔리전스 플랫폼

    550
  • 5

    DFRoot

    a2333c/dfroot

    삼성 Galaxy S25 Ultra(SM-S938B)용 Android 루트 도구로, DirtyFrag CVE-2026-43284와 CVE-2026-43499를 연쇄하여 KernelSU를 통해 부팅 시 자동으로 루트 권한을 획득합니다.

    414
  • 6

    ARTEX

    baarai/artex

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

    409

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →