Improper Authorization Affecting github.com/drakkan/sftpgo/v2/httpd package, versions >=2.2.0 <2.6.1
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-GOLANG-GITHUBCOMDRAKKANSFTPGOV2HTTPD-7323751
- published 21 Jun 2024
- disclosed 20 Jun 2024
- credit Tien Tran
Introduced: 20 Jun 2024
CVE-2024-37897 Open this link in a new tabHow to fix?
Upgrade github.com/drakkan/sftpgo/v2/httpd
to version 2.6.1 or higher.
Overview
Affected versions of this package are vulnerable to Improper Authorization due to insufficient access control mechanisms. An attacker can gain unauthorized access and perform actions as a legitimate user by exploiting the password reset feature, even if their access should be restricted.
Note: This is only exploitable if the password reset feature is enabled
Workaround
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.