Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-54148— Gogs has a Path Traversal in file editing UI

Quick assessment

Affected
gogs gogs
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Gogs(Go Git Service)是Gogs团队的一个基于Go语言的自助Git托管服务,它支持创建、迁移公开/私有仓库,添加、删除仓库协作者等。 Gogs 0.13.1之前版本存在安全漏洞,该漏洞源于恶意用户可以将精心设计的符号链接文件提交并编辑到存储库,以获取对服务器的SSH访问权限。

AI Predicted 8.1 Difficulty: Moderate EPSS 0.85% · P57
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-54148

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Gogs has a Path Traversal in file editing UI
Source: CVE Program / CVE List V5
Vulnerability Description
Gogs is an open source self-hosted Git service. A malicious user is able to commit and edit a crafted symlink file to a repository to gain SSH access to the server. The vulnerability is fixed in 0.13.1.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
CWE-61
Source: CVE Program / CVE List V5
Vulnerability Title
Gogs 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Gogs(Go Git Service)是Gogs团队的一个基于Go语言的自助Git托管服务,它支持创建、迁移公开/私有仓库,添加、删除仓库协作者等。 Gogs 0.13.1之前版本存在安全漏洞,该漏洞源于恶意用户可以将精心设计的符号链接文件提交并编辑到存储库,以获取对服务器的SSH访问权限。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
gogs gogs < 0.13.1 -

II. Public POCs for CVE-2024-54148

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-54148

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-54148 (2)

Vendor Advisories for CVE-2024-54148 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2024-54148

No comments yet


Leave a comment