CVE-2024-52309

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-52309
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-52309.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-52309
Aliases
Downstream
Related
Published
2024-11-21T17:11:06Z
Modified
2025-11-04T20:33:39.745906Z
Severity
  • 5.1 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N CVSS Calculator
Summary
SFTPGo allows administrators to restrict command execution from the EventManager
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-20"
    ]
}
References

Affected packages

Git / github.com/drakkan/sftpgo

Affected ranges

Type
GIT
Repo
https://github.com/drakkan/sftpgo
Events

Affected versions

v2.*

v2.4.0
v2.5.0
v2.5.1
v2.6.0
v2.6.1
v2.6.2