Skip to main content
← All vulnerabilities
CVE-2024-52309GHSA-49CC-XRJF-9QF7GO-2024-3283

SFTPGo allows administrators to restrict command execution from the EventManager

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.6.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • drakkan sftpgo

    From 2.4.0 · fixed in 2.6.3

  • github.com/drakkan/sftpgo/v2Go

    From 2.4.0 · fixed in 2.6.3

  • sftpgoGo

    From 2.4.0 · fixed in 2.6.3

  • github.com/drakkan/sftpgoGo

    All versions

References 3

GitHub · drakkan/sftpgo