Vulnerability · Published Jun 20, 2024 · Assigned by GitHub_M
CVE-2024-37897Insufficient access control for password reset in sftpgo
Medium 5.4
In plain English
A medium-severity improper authentication in sftpgo from drakkan. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 24% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/drakkan/sftpgo | no fix listed | GO-2024-2940 |
| Go | github.com/drakkan/sftpgo/v2 | 2.6.1 | GHSA-hw5f-6wvv-xcrh |
| Go | github.com/drakkan/sftpgo/v2 | 2.6.1 | GO-2024-2940 |
Affected products (as reported)
Weakness: CWE-287 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N