Skip to content

CVE-2020-15152 Server-Side Request Forgery in ftp-srv

CriticalCVSS 9.1 EPSS 1.9%
Published
Updated
Exploit status
No public exploit known

Description

ftp-srv is an npm package which is a modern and extensible FTP server designed to be simple yet configurable. In ftp-srv before versions 2.19.6, 3.1.2, and 4.3.4 are vulnerable to Server-Side Request Forgery. The PORT command allows arbitrary IPs which can be used to cause the server to make a connection elsewhere. A possible workaround is blocking the PORT through the configuration. This issue is fixed in version2 2.19.6, 3.1.2, and 4.3.4. More information can be found on the linked advisory.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
ftp-srv project ftp-srv < 2.19.6; >= 3.0.0, < 3.1.2; >= 4.0.0, < 4.3.4 2.19.6, 3.1.2, 4.3.4 Fixed
npm ftp-srv(npm) >= 1.0.0, < 2.19.6; >= 3.0.0, < 3.1.2; >= 4.0.0, < 4.3.4 2.19.6, 3.1.2, 4.3.4 Fixed
autovance ftp-srv = >= 1.0.0, < 2.19.6; = >= 3.0.0, < 3.1.2; = >= 4.0.0, < 4.3.4 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm ftp-srv(npm) >= 1.0.0, < 2.19.6 2.19.6
npm ftp-srv(npm) >= 3.0.0, < 3.1.2 3.1.2
npm ftp-srv(npm) >= 4.0.0, < 4.3.4 4.3.4
ftp-srv project ftp-srv < 2.19.6 2.19.6
ftp-srv project ftp-srv >= 3.0.0, < 3.1.2 3.1.2
ftp-srv project ftp-srv >= 4.0.0, < 4.3.4 4.3.4
autovance ftp-srv = >= 1.0.0, < 2.19.6 No fix listed
autovance ftp-srv = >= 3.0.0, < 3.1.2 No fix listed
autovance ftp-srv = >= 4.0.0, < 4.3.4 No fix listed

References