cve/2024/CVE-2024-39930.md

21 lines
998 B
Markdown
Raw Normal View History

2024-08-31 19:52:39 +00:00
### [CVE-2024-39930](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-39930)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### Description
The built-in SSH server of Gogs through 0.13.0 allows argument injection in internal/ssh/ssh.go, leading to remote code execution. Authenticated attackers can exploit this by opening an SSH connection and sending a malicious --split-string env request if the built-in SSH server is activated. Windows installations are unaffected.
### POC
#### Reference
- https://www.vicarius.io/vsociety/posts/argument-injection-in-gogs-ssh-server-cve-2024-39930
#### Github
2025-09-29 16:08:36 +00:00
- https://github.com/alexander47777/-CVE-2024-39930
- https://github.com/plzheheplztrying/cve_monitor
- https://github.com/theMcSam/CVE-2024-39930-PoC
- https://github.com/zulloper/cve-poc
2024-08-31 19:52:39 +00:00