CVE-2024-52309
Description
SFTPGo is a full-featured and highly configurable SFTP, HTTP/S, FTP/S and WebDAV server - S3, Google Cloud Storage, Azure Blob. 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. To avoid this confusion, running system commands is disabled by default in 2.6.3, and an allow list has been added so that system administrators configuring SFTPGo must explicitly define which commands are allowed to be configured from the WebAdmin UI.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/drakkan/sftpgo/v2Go | >= 2.4.0, < 2.6.3 | 2.6.3 |
sftpgoGo | >= 2.4.0, < 2.6.3 | 2.6.3 |
Affected products
4- ghsa-coords3 versionspkg:golang/github.com/drakkan/sftpgo/v2pkg:golang/sftpgopkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Tumbleweed
>= 2.4.0, < 2.6.3+ 2 more
- (no CPE)range: >= 2.4.0, < 2.6.3
- (no CPE)range: >= 2.4.0, < 2.6.3
- (no CPE)range: < 0.0.20241121T195252-1.1
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-49cc-xrjf-9qf7ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-52309ghsaADVISORY
- github.com/drakkan/sftpgo/commit/88b1850b5806eee81150873d4e565144b21021fbnvdWEB
- github.com/drakkan/sftpgo/commit/b524da11e9466d05fe03304713ee1c61bb276ec4nvdWEB
- github.com/drakkan/sftpgo/security/advisories/GHSA-49cc-xrjf-9qf7nvdWEB
- pkg.go.dev/vuln/GO-2024-3283ghsaWEB
News mentions
0No linked articles in our index yet.