CVE-2022-36071: drakkan sftpgo Improper Authentication
Vulnerability summary
CVE-2022-36071 is a high (CVSS 8.3) Improper Authentication vulnerability in drakkan sftpgo. EPSS estimates a 0.54% chance of exploitation in the next 30 days, higher than 44.3% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 02-09-2022PublishedVulnerability first disclosed.
- 22-04-2025Last modifiedVulnerability information updated.
Description
SFTPGo is configurable SFTP server with optional HTTP/S, FTP/S and WebDAV support. SFTPGo WebAdmin and WebClient support login using TOTP (Time-based One Time Passwords) as a secondary authentication factor. Because TOTPs are often configured on mobile devices that can be lost, stolen or damaged, SFTPGo also supports recovery codes. These are a set of one time use codes that can be used instead of the TOTP. In SFTPGo versions from version 2.2.0 to 2.3.3 recovery codes can be generated before enabling two-factor authentication. An attacker who knows the user's password could potentially generate some recovery codes and then bypass two-factor authentication after it is enabled on the account at a later time. This issue has been fixed in version 2.3.4. Recovery codes can now only be generated after enabling two-factor authentication and are deleted after disabling it.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · GoEcosystem advisory · calculated8.3HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
- NVDNIST8.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:NDiffers
EPSS trend
Probability
0.54%
Chance of exploitation in the next 30 days
Percentile
44%
Versus all other CVEs
30-day change
0.00 pp
From 0.54% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundSftpgo
Maturity: poc
Weaknesses
CWE · root cause- CWE-287Improper AuthenticationWhen an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.
- CWE-916Use of Password Hash With Insufficient Computational EffortThe product generates a hash for a password, but it uses a scheme that does not provide a sufficient level of computational effort that would make password cracking attacks infeasible or expensive.
Affected systems
Drakkan1 product
- sftpgo≥ 2.2.0, < 2.3.4
Github.com/drakkan1 product
- sftpgoAll versions (No fix recorded)
Github.com/drakkan/sftpgo1 product
- v2≥ 2.2.0, < 2.3.4
Sftpgo_project1 product
- sftpgo≥ 2.2.0, < 2.3.4
4 vendors · 4 products
References
4 links- github.com/drakkan/sftpgo/security/advisories/GHSA-54qx-8p8w-xhg8X Refsource CONFIRMWEBAdvisoryMitigationThird Party Advisory
- github.com/drakkan/sftpgo/issues/965X Refsource MISCWEBREPORTExploitIssue TrackingPatchThird Party Advisory
- github.com/drakkan/sftpgoPACKAGE