CVE-2024-40430: Medium severity sftpgo vulnerability

Published Jul 22, 2024
·
Updated

In SFTPGO 2.6.2, the JWT implementation lacks certain security measures, such as using JWT ID (JTI) claims, nonces, and proper expiration and invalidation mechanisms. NOTE: The vendor argues that the prerequisite for this exploit is to be able to steal another user's cookie. Additionally, it is argued that SFTPGo validates cookies being used by the IP address it was issued to, so stolen cookies from different IP addresses will not work.

Other sources

Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultIDs: none. Reason: This candidate was withdrawn by its CNA. Further investigation showed that it was not a security issue. Notes: none.

NVD

Withdrawn: The attack vector described in the backing report required that an attacker gain access to a user's session cookie. By gaining access to the session cookie the attacker is for all intents and purposes the valid user and any access to user data would be expected.

~In SFTPGo 2.6.2, the JWT implementation lacks certain security measures, such as using JWT ID (JTI) claims, nonces, and proper expiration and invalidation mechanisms.~

GitHub

Affected Software

2 affected components
go/github.com/drakkan/sftpgo/v2<=2.6.2
Sftpgo Project Sftpgo=2.6.2

Event History

Jul 22, 2024
CVE Published
via MITRE·12:00 AM
Rejected
via MITRE·12:00 AM
Data Sourced
via NVD·07:15 AM
Description
Advisory Published
via GitHub·09:31 AM
Jul 31, 2024
Withdrawn
via GitHub·06:42 PM
Sep 13, 2024
Rejected
via MITRE·08:25 PM

Frequently Asked Questions

1

What is the severity of CVE-2024-40430?

CVE-2024-40430 is considered a high severity vulnerability due to its potential impact on JWT security.

2

How do I fix CVE-2024-40430?

To fix CVE-2024-40430, upgrade SFTPGO to a version that properly implements JWT security measures.

3

What versions are affected by CVE-2024-40430?

CVE-2024-40430 affects SFTPGO version 2.6.2.

4

What are the consequences of exploiting CVE-2024-40430?

Exploiting CVE-2024-40430 can allow an attacker to impersonate another user by hijacking their JWT.

5

Is it necessary to steal a cookie to exploit CVE-2024-40430?

Yes, the prerequisite for exploiting CVE-2024-40430 is the ability to steal another user's cookie.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203