Intel

AIKIDO-2026-10909

basic-ftp is vulnerable to Server-Side Request Forgery (SSRF)

Server-Side Request Forgery (SSRF) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published 3 days ago

70

High Risk

This Affects:

JSbasic-ftp
0.0.1 - 5.3.1
Fixed in 6.0.0
Are you affected? Scan for Free

TL;DR

The basic-ftp client opens passive-mode IPv4 data connections using the host and port returned in PASV responses. When separate transfer hosts are allowed, a malicious FTP server can supply an arbitrary address and port so the client connects elsewhere on the network. Before the fix this behavior was enabled by default, enabling FTP bounce and SSRF-style probing of internal hosts and services. The fix disables separate transfer hosts by default and rejects PASV responses whose host does not match the control connection.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

basic-ftp is vulnerable to Server-Side Request Forgery (SSRF) in versions 0.0.1 - 5.3.1.

How to fix this

Upgrade the basic-ftp library to the patch version.