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.
CVSS breakdown
CVSS 3.1
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
Affected products
- autovance / ftp-srv>= 1.0.0, < 2.19.6 – >= 1.0.0, < 2.19.6
- autovance / ftp-srv>= 3.0.0, < 3.1.2 – >= 3.0.0, < 3.1.2
- autovance / ftp-srv>= 4.0.0, < 4.3.4 – >= 4.0.0, < 4.3.4