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.
The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Ftp-srv | Ftp-srv_project | * | 2.19.6 (excluding) |
Ftp-srv | Ftp-srv_project | 3.0.0 (including) | 3.1.2 (excluding) |
Ftp-srv | Ftp-srv_project | 4.0.0 (including) | 4.3.4 (excluding) |