CVE-2024-52309: SFTPGo allows administrators to restrict command execution from the EventManager
One powerful feature of SFTPGo is the ability to have the EventManager execute scripts or run applications in response to certain events. This feature is very common in all software similar to SFTPGo and is generally unrestricted.
However, any SFTPGo administrator with permission to run a script has access to the underlying OS/container with the same permissions as the user running SFTPGo.
This is unexpected for some SFTPGo administrators who think that there is a clear distinction between accessing the system shell and accessing the SFTPGo WebAdmin UI.
References
- github.com/advisories/GHSA-49cc-xrjf-9qf7
- github.com/drakkan/sftpgo
- github.com/drakkan/sftpgo/commit/88b1850b5806eee81150873d4e565144b21021fb
- github.com/drakkan/sftpgo/commit/b524da11e9466d05fe03304713ee1c61bb276ec4
- github.com/drakkan/sftpgo/security/advisories/GHSA-49cc-xrjf-9qf7
- nvd.nist.gov/vuln/detail/CVE-2024-52309
- pkg.go.dev/vuln/GO-2024-3283
Detect and mitigate CVE-2024-52309 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →