Skip to content

CVE-2024-37897 Insufficient access control for password reset in sftpgo

MediumCVSS 5.4 EPSS 0.31%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Cloud Platforms

Description

SFTPGo is a full-featured and highly configurable SFTP, HTTP/S, FTP/S and WebDAV server - S3, Google Cloud Storage, Azure Blob. SFTPGo WebAdmin and WebClient support password reset. This feature is disabled in the default configuration.
In SFTPGo versions prior to v2.6.1, if the feature is enabled, even users with access restrictions (e.g. expired) can reset their password and log in. Users are advised to upgrade to version 2.6.1. Users unable to upgrade may keep the password reset feature disabled or set a blank email address for users and admins with access restrictions so they cannot receive the email with the reset code and exploit the vulnerability.

Upgrade path

3 packages: 1 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
drakkan github.com/drakkan/sftpgo/v2(Go) >= 2.2.0, < 2.6.1; All versions 2.6.1 Partially fixed
sftpgo project sftpgo >= 2.2.0, < 2.6.1 2.6.1 Fixed
drakkan github.com/drakkan/sftpgo/v2 = >= 2.2.0, < 2.6.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
drakkan github.com/drakkan/sftpgo/v2(Go) >= 2.2.0, < 2.6.1 2.6.1
drakkan github.com/drakkan/sftpgo/v2(Go) All versions No fix listed
drakkan github.com/drakkan/sftpgo/v2 = >= 2.2.0, < 2.6.1 No fix listed
sftpgo project sftpgo >= 2.2.0, < 2.6.1 2.6.1

References