~ / search / GHSA-hw5f-6wvv-xcrh

GHSA-hw5f-6wvv-xcrh

SFTPGo has insufficient access control for password reset

Source: GitHub Advisory Database (reviewed) Moderate CVE-2024-37897

Packages

EcosystemPackageAffectedFixed in
Go github.com/drakkan/sftpgo/v2 >= 2.2.0, < 2.6.1 2.6.1

Details

As written in the advisory (Markdown source, shown as plain text).

### Impact 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. ### Patches Fixed in v2.6.1. ### Workarounds The following workarounds are available: - keep the password reset feature disabled. - 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.

References

External links from the advisory. They lead to third-party sites.