CVE-2024-44625
HIGHGogs <= 0.13.0 - Path Traversal via editFilePost Function
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2024-44625. PoCs published by Fysac.
AI-analyzed exploit summary This PoC exploits CVE-2024-44625 in Gogs by creating a repository, pushing a symlink to a hook file, and then editing the symlink to execute arbitrary commands (e.g., `id > /tmp/exploit_success`). The exploit leverages improper symlink handling in the web interface to achieve remote code execution.
Description
Gogs <=0.13.0 is vulnerable to Directory Traversal via the editFilePost function of internal/route/repo/editor.go.
Exploits (1)
This PoC exploits CVE-2024-44625 in Gogs by creating a repository, pushing a symlink to a hook file, and then editing the symlink to execute arbitrary commands (e.g., `id > /tmp/exploit_success`). The exploit leverages improper symlink handling in the web interface to achieve remote code execution.
References (2)
Scores
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H