Skip to content
OpenAdvisories
Medium · 5.4 CVE-2024-37897 EUVD-2024-2079GHSA-hw5f-6wvv-xcrhGO-2024-2940

Insufficient access control for password reset in sftpgo

Published Jun 20, 2024 · Updated Aug 2, 2024 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
drakkan sftpgo >= 2.2.0, < 2.6.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/drakkan/sftpgo all versions — GO-2024-2940
Go github.com/drakkan/sftpgo/v2 >= 2.2.0, < 2.6.1 2.6.1 GHSA-hw5f-6wvv-xcrh

References