NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

CVE-2024-37897: SFTPGo has insufficient access control for password reset

mediumCVSS 4.0 6.3 · 3.1 6.5GHSA-hw5f-6wvv-xcrh

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.

Published Jun 20, 2024 · Updated Aug 8, 2024

Affected packages

github.com/drakkan/sftpgo/v2

Ecosystem
Go
Affected
>= 2.2.0, < 2.6.1
Fixed in
2.6.1
Check
go list -m github.com/drakkan/sftpgo/v2

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to t7tran.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Go vulnerabilities

All Go entries