cve/2024/CVE-2024-56731.md
2025-09-29 21:09:30 +02:00

19 lines
1.1 KiB
Markdown

### [CVE-2024-56731](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-56731)
![](https://img.shields.io/static/v1?label=Product&message=gogs&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3C%200.13.3%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-552%3A%20Files%20or%20Directories%20Accessible%20to%20External%20Parties&color=brightgreen)
### Description
Gogs is an open source self-hosted Git service. Prior to version 0.13.3, it's still possible to delete files under the .git directory and achieve remote command execution due to an insufficient patch for CVE-2024-39931. Unprivileged user accounts can execute arbitrary commands on the Gogs instance with the privileges of the account specified by RUN_USER in the configuration. Allowing attackers to access and alter any users' code hosted on the same instance. This issue has been patched in version 0.13.3.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/Threekiii/CVE
- https://github.com/tanjiti/sec_profile