In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about Arbitrary Command Injection vulnerabilities in an interactive lesson.
Start learningUpgrade org.springframework.integration:spring-integration-ftp to version 7.0.8, 7.1.3 or higher.
Affected versions of this package are vulnerable to Arbitrary Command Injection in the FtpMessageHandler and FtpOutboundGateway classes, which build the FTP SITE chmod command by concatenating the remote file path into the command argument without rejecting control characters. An attacker who can influence the remote filename or directory, for example through the FileHeaders.FILENAME header consumed by DefaultFileNameGenerator, can embed CR or LF characters to inject additional FTP commands on the same control connection, executed with the configured FTP account's privileges. This affects applications that enable chmod on an FTP or FTPS outbound component and derive the remote path from untrusted message data.