8.3
HIGH
CVE-2022-36071
SFTPGo Two-Factor Authentication Recovery Code Generation Vulnerability
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.

INFO

Published Date :

Sept. 2, 2022, 6:15 p.m.

Last Modified :

Sept. 9, 2022, 3:40 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.5

Exploitability Score :

2.8
Affected Products

The following products are affected by CVE-2022-36071 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Sftpgo_project sftpgo
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-36071.

URL Resource
https://github.com/drakkan/sftpgo/issues/965 Exploit Issue Tracking Patch Third Party Advisory
https://github.com/drakkan/sftpgo/security/advisories/GHSA-54qx-8p8w-xhg8 Mitigation Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-36071 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-36071 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Sep. 09, 2022

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
    Changed Reference Type https://github.com/drakkan/sftpgo/issues/965 No Types Assigned https://github.com/drakkan/sftpgo/issues/965 Exploit, Issue Tracking, Patch, Third Party Advisory
    Changed Reference Type https://github.com/drakkan/sftpgo/security/advisories/GHSA-54qx-8p8w-xhg8 No Types Assigned https://github.com/drakkan/sftpgo/security/advisories/GHSA-54qx-8p8w-xhg8 Mitigation, Third Party Advisory
    Added CWE NIST CWE-916
    Added CPE Configuration OR *cpe:2.3:a:sftpgo_project:sftpgo:*:*:*:*:*:*:*:* versions from (including) 2.2.0 up to (excluding) 2.3.4
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.07 }} 0.01%

score

0.28603

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability