CVE-2024-37897 Insufficient access control for password reset in sftpgo
- 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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- https://github.com/drakkan/sftpgo/security/advisories/GHSA-hw5f-6wvv-xcrh vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/drakkan/sftpgo/commit/1f8ac8bfe16100b0484d6c91e1e8361687324423 patch
- github.com patch
- github.com product
- github.com
- github.com