Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
gitea-cve-2024-45337 — Security case-study repository reconstructing Gitea source at historical commits to demonstrate reachability analysis versus SCA for CVE-2024-45337. Demo only, not for deployment. | Kitploit
Tools/GitHubGitHub/ferralon-demo/gitea-cve-2024-45337
Static AnalysisVulnerability AnalysisCode AnalysisSupply Chain SecurityPapers & ResearchLearning & Education
GitHubferralon-demo/gitea-cve-2024-45337

gitea-cve-2024-45337

Security case-study repository reconstructing Gitea source at historical commits to demonstrate reachability analysis versus SCA for CVE-2024-45337. Demo only, not for deployment.

View Repository
Dec 6, 2026Not yet reviewed
Share

Gitea @ ef9d1e9 — baseline (last-vulnerable state) — CVE-2024-45337

⚠️ DEMONSTRATION / CASE-STUDY branch — NOT FOR ANY REAL USE. Reconstructs real Gitea source at a historical commit for security-analysis demonstration. Do not deploy, install, build, run, or depend on it. Not a fork; no upstream git history; not affiliated with or endorsed by Gitea. Source © its original authors under the upstream LICENSE (retained in this branch's snapshot commit). This case-study README replaces upstream's project README at the branch tip; upstream's original README.md is preserved byte-identical in this branch's snapshot commit.

What this branch represents

The last-vulnerable state — Gitea at upstream ef9d1e9002a1f791e5ee6d0c55d1524a8e9a1777 (release/v1.22, immediate parent of the failed dependency bump). This is the PoE-reproducible state: the reachable PublicKeyCallback misuse is present and no mitigation has been applied.

There is no separate vulnerability-introduced branch: the misuse predates the CVE by years and is not cheaply pinnable to a single introducing commit, so baseline doubles as the vulnerable PoE state.

The reachable sink (modules/ssh/ssh.go)

const giteaKeyID = contextKey("gitea-key-id")
// ...
func publicKeyHandler(ctx ssh.Context, key ssh.PublicKey) bool {
    // ... stores EVERY offered candidate key's ID, last-write-wins:
    ctx.SetValue(giteaKeyID, pkey.ID)
}
func sessionHandler(session ssh.Session) {
    // ... trusts whatever landed in the context, regardless of which key authenticated:
    keyID := fmt.Sprintf("%d", session.Context().Value(giteaKeyID).(int64))
}

SSH permits a client to offer multiple candidate public keys before proving control of any one. Because publicKeyHandler writes each offered key's ID into the context (last-write-wins) and sessionHandler reads it back unconditionally, a client can be attributed a key it never proved control of. This is exactly the misuse the upstream golang.org/x/crypto advisory warns against.

Dependency state

go.mod pins golang.org/x/crypto v0.26.0 (pre-mitigation) and github.com/gliderlabs/ssh v0.3.6.

Expected analysis result

reachable_candidate — the sink symbol giteaKeyID and its reachable call path are present.

Provenance

  • Upstream: go-gitea/gitea @ ef9d1e9002a1f791e5ee6d0c55d1524a8e9a1777.
  • Reconstructed for security-analysis demonstration; upstream code unmodified (snapshot commit tree is byte-identical to upstream). See the root main README for the full case-study index.
Download Tool

Related Tools

  • ghidra

    Ghidra is a software reverse engineering (SRE) framework

  • capa

    Rule-based static and dynamic analysis tool that identifies capabilities in PE, ELF, .NET, and shellcode files, mapping them to MITRE ATT&CK techniques for malware triage.

  • yara-x

    A rewrite of YARA in Rust.

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    ghostlock-app

    yukonga/ghostlock-app

    One-tap Android kernel exploit app for CVE-2026-43499, providing privilege escalation via kernel module loading, with offset extraction and on-device analysis tools.

    745
  • 2

    IMSIcatcher

    28zaaky/imsicatcher

    IMSI Catcher platform that deploys a rogue GSM cell to intercept SMS, inject messages and track mobile devices

    732
  • 3

    Callisto

    jetp1ane/callisto

    Automated binary vulnerability analysis tool that decompiles executables via Ghidra, scans pseudo-C code with Semgrep, and validates findings using GPT-3.5-Turbo to reduce false positives.

    610
  • 4

    opencti

    opencti-platform/opencti

    Open Cyber Threat Intelligence Platform

    546
  • 5

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    414
  • 6

    DFRoot

    a2333c/dfroot

    Android root tool for Samsung Galaxy S25 Ultra (SM-S938B) that chains DirtyFrag CVE-2026-43284 and CVE-2026-43499 to gain root automatically at boot via KernelSU.

    413

Explore all tools

Browse our collection of tools

View all tools →