Path traversal in Serv-U FTP Server - CVE-2020-27994

 

Path traversal in Serv-U FTP Server - CVE-2020-27994

Published: February 3, 2021 / Updated: April 17, 2023


Vulnerability identifier: #VU50295
CSH Severity: Medium
CVSS v4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-27994
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote user to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences passed via the "dir" HTTP GET parameter. A remote user can send a specially crafted HTTP request and read arbitrary files on the system.

Example:

https:///[host]/?Command=List&dir=\..\*.*

Affected software

Serv-U FTP Server

How to mitigate CVE-2020-27994

Install update from vendor's website.

Serv-U FTP Server - update to 15.2.2

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins