3.7 LOW
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): High (H)
- Privileges Required (PR): Low (L)
- User Interaction (UI): Required (R)
- Scope (S): Unchanged (U)
- Confidentiality (C): Low (L)
- Integrity (I): Low (L)
- Availability (A): None (N)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): High (H)
- Modified Privileges Required (MPR): Low (L)
- Modified User Interaction (MUI): Required (R)
- Modified Confidentiality (MC): Low (L)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): Low (L)
- Modified Availability (MA): None (N)
Activity log
- Created suggestion
SFTPGo: Stored XSS via inline parameter on public shares and user file download
SFTPGo is an open source, event-driven file transfer solution. From 2.2.0 until 2.7.3, the inline query parameter on browsable-share file downloads and authenticated user-file downloads suppresses Content-Disposition: attachment, allowing an attacker-controlled HTML file stored in a share or home directory to be served as text/html in the SFTPGo web origin. An attacker who can place the file can send a crafted link to a victim, and opening that link executes the stored content in the victim's browser context. Exploitation requires social engineering and suitable share or shared-folder access, while HttpOnly session cookies limit direct cookie theft. This issue is fixed in version 2.7.3.
References
-
https://github.com/drakkan/sftpgo/security/advisories/GHSA-3vcg-pv95-pq54 x_refsource_CONFIRM
-
https://github.com/drakkan/sftpgo/releases/tag/v2.7.3 x_refsource_MISC
Affected products
- ==>= 2.2.0 < 2.7.2
Matching in nixpkgs
pkgs.sftpgo
Fully featured and highly configurable SFTP server
pkgs.sftpgo-plugin-auth
LDAP/Active Directory authentication for SFTPGo
Package maintainers
-
@thenonameguy Krisztian Szabo <thenonameguy24@gmail.com>
-
@ryan4yin Ryan Yin <xiaoyin_c@qq.com>
-
@connor-grady Connor Grady <connor.grady@gmail.com>