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.

Severity (CVSS 3.1)5.4Medium
Exploit odds (30 days)0.3%top 76.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Gogithub.com/drakkan/sftpgono fix listedGO-2024-2940
Gogithub.com/drakkan/sftpgo/v22.6.1GHSA-hw5f-6wvv-xcrh
Gogithub.com/drakkan/sftpgo/v22.6.1GO-2024-2940

Affected products (as reported)

VendorProductVersions
drakkan sftpgo >= 2.2.0, < 2.6.1

Weakness: CWE-287 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

References