CVE-2024-52309
published medium CVSS 4.0 · 5.1SFTPGo allows administrators to restrict command execution from the EventManager
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| drakkan | — | sftpgo>= 2.4.0, < 2.6.3 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbaarch64 | Advisory build | 0.0.20241121T195252-1.1 | OPENSUSE-SU-2024:14519-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbppc64le | Advisory build | 0.0.20241121T195252-1.1 | OPENSUSE-SU-2024:14519-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbs390x | Advisory build | 0.0.20241121T195252-1.1 | OPENSUSE-SU-2024:14519-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbx86_64 | Advisory build | 0.0.20241121T195252-1.1 | OPENSUSE-SU-2024:14519-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.1 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| drakkan | sftpgo | >= 2.4.0, < 2.6.3 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-20 CWE-20: Improper Input Validation
References
3Provider assertions
2GitHub_M · cna
SFTPGo allows administrators to restrict command execution from the EventManager
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 54b59b4e4cfcfe147a1861dc2978bb9cd4df7d2f1fcf702b4ee6bf98f6636122
- Ingested
- 23 Sep 2026, 08:30:39 UTC
- Source record
- Official CVE record