2532 matches found
CVE-2020-14144-GiTea-git-hooks-rce
CVE-2020-14144 - GiTea 认证远程代码执行(RCE) 一个利用 CVE-2020-14144(GiTea 认证远程代码执行)的脚本,通过 Git 钩子实现攻击 功能特性 从 IP 和端口自动生成反向 Shell 载荷 使用 -f 选项上传自定义 Shell 脚本并在远程执行 使用用户名和密码自动登录 用法 $ ./CVE-2020-14144-GiTea-git-hooks-rce.py -h / | CVE-2020-14144 | | | | | | | | | | |/ / | Authenticated Remote Code Execution | || |...
CVE-2026-60004-POC
CVE-2026-60004 — Gitea 预认证远程代码执行(CVSS 9.8) ┌──────────────────────────────────────────────────────────────┐ │ CVE-2026-60004 │ Gitea Pre-Auth RCE │ CVSS 9.8 CRIT │ │ diffpatch → git hook injection │ v1.17–1.27.0 affected │ └──────────────────────────────────────────────────────────────┘ 📋 概述 属性| ...
CVE-2025-68937
CVE-2025-68937 - Gitea/Forgejo 模板符号链接 RCE CVE-2025-68937 的自动化概念验证:在 Gitea 和 Forgejo 的模板仓库处理过程中,通过符号链接解引用实现目录遍历,进而导致远程代码执行。 任何已认证用户 (无需管理员权限)都可以获得 git 服务用户的 shell。 漏洞 当从模板生成新仓库时,Gitea/Forgejo 会复制模板文件,并在 .gitea/template 中列出的文件里展开诸如 $REPODESCRIPTION 之类的变量。此过程跟随符号链接 且不进行任何校验,从而允许攻击者读取和写入服务器上的任意文件。 详情...
gogsownz
GogsOwnz GogsOwnz 是一个简单的脚本,用于在 Gogs/Gitea 服务器上获取管理员权限和远程代码执行(RCE)。 利用 Gogs/Gitea 的漏洞,包括 CVE-2018-18925 、CVE-2018-20303 。 法律免责声明 本脚本按原样提供,无任何担保,请自行使用并遵守法律。 典型用法 - 请阅读完整用法 获取正在运行的 Gogs/Gitea 信息 python3 gogsownz.py https://127.0.0.1:3000/ -v --info 利用预授权权限提升(PrivEsc) python3 gogsownz.py...
CVE-2026-60004-poc-gitea
CVE-2026-60004 概念验证(PoC) 概述 本仓库包含针对 CVE-2026-60004 的概念验证工具,该漏洞是一个影响特定 Gitea 版本、通过 diffpatch 钩子注入技术的已认证或未认证远程代码执行(RCE)攻击向量。主要实现是一个用于执行检测和利用流程的单一 Go 程序。 仓库内容 https://github.com/gagaltotal/CVE-2026-60004-poc-gitea — 实现检测、利用投递和可选输出检索的主要 Go 源文件。 backup.txt — 杂项笔记/备份。 images/ — 用于文档的辅助图片。 重要声明及法律/道德使用 ...
Exploitarium-Detections
Exploitarium KQL 检测覆盖范围 涵盖 bikini/exploitarium 匿名披露的 Microsoft Sentinel 和 Defender XDR KQL 检测规则——这是一个包含 15+ 个不同漏洞目标的个人研究档案,涉及 109+ 个跟踪文件,于 2026 年 6 月 23 日未经厂商通知发布。 54 条规则 | 23 个产品文件夹 | KQL | 作者: Ethan Andrews @eandrews 最后更新: 2026-07-01 情报报告: https://systemtwosecurity.com/share/inspiration/VNJMKFV...
CVE-2026-20896
CVE-2026-20896 实验环境 本仓库提供了一个小型、自包含的实验环境,用于在受控且经授权的环境中探索 CVE-2026-20896 问题。 概述 该实验环境包含: poc.py:我定制的概念验证脚本,用于演示该问题并导出可供浏览器直接使用的 Cookie 文件 detect.py:基于原始项目 https://github.com/rz1027/CVE-2026-20896 的检测器 docker-compose.yml:基于同一原始参考项目的本地 Gitea 实验环境配置 目的 本项目严格用于教育、研究和经授权的安全测试。仅应针对您拥有或明确获授权测试的系统使用。 快速开始 ...
cicd-goat
Deliberately vulnerable CI/CD environment. Hack CI/CD pipelines, capture the flags. 🚩 Created by Cider Security Acquired by Palo Alto Networks. Table of Contents Description Download & Run Linux & Mac Windows Powershell Usage Instructions Take the challenge Troubleshooting Solutions Contributing...
reposaur
Reposaur Reposaur is the open source compliance tool for development platforms. Audit, verify and report on your data and configurations easily with pre-defined and/or custom policies. Supports GitHub. GitLab, BitBucket and Gitea support soon. ⚠️ before 1.0.0 expect some bugs and API changes ⚠️...
Gitea Container Registry - Unauthorized Private Image Access
Gitea = 1.26.2. As a temporary workaround, set REQUIRESIGNINVIEW=true in gitea app.ini, though this blocks all anonymous access including public repos. reference: - https://blog.gitea.com/release-of-1.26.2/ - https://github.com/go-gitea/gitea/pull/37290 -...
Gitea 1.1.0 - 1.12.5 - Remote Code Execution
Gitea 1.1.0 through 1.12.5 is susceptible to authenticated remote code execution, via the git hook functionality, in customer environments where the documentation is not understood e.g., one viewpoint is that the dangerousness of this feature should be documented immediately above the...
Gitea <1.16.5 - Open Redirect
Gitea before 1.16.5 is susceptible to open redirect via GitHub repository go-gitea/gitea. An attacker can redirect a user to a malicious site and potentially obtain sensitive information, modify data, and/or execute unauthorized operations. id: CVE-2022-1058 info: name: Gitea 1.16.5 - Open Redire...
Gitea < 1.4.3 - Open Redirect
Gitea before version 1.4.3 is affected by URL Redirection to Untrusted Site 'Open Redirect' via internal URLs. The vulnerability exists in the redirectto parameter used on the login page /user/login. Due to improper validation of the redirect URL, an attacker can craft a malicious link that...
Gitea Docker Image <= 1.26.2 - Reverse Proxy Header Authentication Bypass
The official Gitea Docker image through version 1.26.2 ships with REVERSEPROXYTRUSTEDPROXIES set to a wildcard, causing Gitea to trust reverse-proxy authentication headers X-WEBAUTH-USER from any source IP instead of restricting trust to the configured reverse proxy. When reverse-proxy...
Gitea 1.22.0 - Cross-Site Scripting
Gitea 1.22.0 is vulnerable to a Stored Cross-Site Scripting XSS vulnerability. This vulnerability allows an attacker to inject malicious scripts that get stored on the server and executed in the context of another user's session. id: CVE-2024-6886 info: name: Gitea 1.22.0 - Cross-Site Scripting...
Gitea <= 1.27.0 - Pre-Auth Remote Code Execution
Gitea versions 1.17 through 1.27.0 contain a remote code execution vulnerability in the diffpatch endpoint caused by an add/add collision that writes an executable Git hook into the bare repository's GITDIR. An attacker with write access can execute arbitrary commands as the Gitea service account...
Gitea-Forgejo-CVE-2025-68937
Gitea和Forgejo中的任意模板扩展漏洞 本作品采用 知识共享署名-相同方式共享 4.0 国际许可协议 进行许可。 摘要 在检查 Forgejo 和 Gitea 的源代码以更好地理解模板化如何执行时,我发现了一个漏洞,允许已认证用户创建一个恶意的模板仓库,该仓库可用于处理文件系统上的任意文件。 当基于恶意模板的 Git 内容创建仓库时,该模板将能够展开文件系统上的任意文件。 知道 git 用户的主目录路径(在官方 Docker 镜像中默认为 /data/git),攻击者可以展开 git 用户的 .ssh/authorizedkeys 文件,从而注入一个不带 command...
cve-2026-60004
CVE-2026-60004 — Gitea = 1.27.0 Pre-Auth Remote Code Execution Descripción CVE-2026-60004 es una vulnerabilidad crítica CVSS 9.8 en Gitea que permite ejecución remota de código sin autenticación mediante el endpoint /api/v1/repos/owner/repo/diffpatch. Herramientas 1. Detector detector.py Detecta...
CVE-2026-60004-gitea-0day
CVE-2026-60004 - Gitea = 1.27.0 预认证 RCE 这是针对 CVE-2026-60004 的概念验证漏洞利用程序,该漏洞是 Gitea 1.17 至 1.27.0 版本中的一个严重远程代码执行漏洞。该脚本自动化了完整的漏洞利用链,从用户注册到在目标服务器上建立稳定的交互式 Shell。 背景 该漏洞存在于 /diffpatch API 端点中。通过两次发送恶意补丁,add/add 冲突会触发三路合并回退,从而忽略 --cached 标志,并直接将可执行的 Git 钩子写入裸仓库的 GITDIR。当 Git 更新索引时,它会自动执行该钩子,从而允许以 Gite...
CVE-2026-60004
CVE-2026-60004 — Gitea diffpatch RCE Gitea diffpatch 端点远程代码执行 PoC。拥有仓库写权限的账户开放注册实例上匿名注册即可即可在服务器上以 Gitea 服务账户 执行任意 shell 命令。 漏洞简述 POST /api/v1/repos/owner/repo/diffpatch 在共享的 bare 临时克隆仓库 中应用攻击者控制的补丁: git apply --index --recount --cached --binary Git ≥ 2.32 时追加 -3 三路合并回退 攻击链:同一个补丁提交两次 → add/add 冲突 ...