SFTPGo has a Path Traversal and Permission Bypass via Path Normalization Discrepancy
drakkan sftpgo
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/drakkan/sftpgo/v2 Go |
|
|
| github.com/drakkan/sftpgo Go |
| No fix yet |
drakkan sftpgo
| Product | Affected | Fixed in |
|---|---|---|
| github.com/drakkan/sftpgo/v2 Go |
|
|
| github.com/drakkan/sftpgo Go |
| No fix yet |
SFTPGo is an open source, event-driven file transfer solution. In SFTPGo versions prior to 2.7.1, a path normalization discrepancy between the protocol handlers and the internal Virtual Filesystem routing can lead to an authorization bypass. An authenticated attacker can craft specific file paths to bypass folder-level permissions or escape the boundaries of a configured Virtual Folder. This vulnerability is fixed in 2.7.1.
From the CVE record · GitHub_M
A path normalization discrepancy between SFTPGo protocol handlers and Virtual Filesystem routing affects versions before 2.7.1. An authenticated attacker can craft file paths to bypass folder-level permissions or escape a configured Virtual Folder.
Check deployments using Go package github.com/drakkan/sftpgo/v2 before 2.7.1 or github.com/drakkan/sftpgo through 1.2.2.