CVE-2024-52309CWE-20

SFTPGo allows administrators to restrict command execution from the EventManager

Medium · published November 21, 2024

CVSS v4.0
5.1
EPSS
1%
Percentile
49.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
5.1 · MEDIUM
Vector
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
EPSS
0.00630 · 49.5th percentile
Weakness
CWE-20 · Improper Input Validation
Published
2024-11-21T17:11Z
EPSS history
Timeline
  • 21 NOV 17:11Z
    SFTPGo allows administrators to restrict command execution from the EventManager
    cvelistv5