概要
細工したファイル名で、FTP サーバに余計なコマンドを実行させられるおそれ。
元の説明(英語)を読む
Spring Integration FTP/FTPS outbound components ( FtpMessageHandler and FtpOutboundGateway ) build a textual FTP SITE chmod command by concatenating the remote file path into the command argument. If chmod is enabled and the remote filename or directory is derived from untrusted message data (for example, the FileHeaders.FILENAME header used by the default DefaultFileNameGenerator ), a crafted value containing CRLF characters can inject additional FTP commands on the same control connection. An attacker who can influence the remote filename or path can execute unintended FTP control commands with the privileges of the configured FTP account. Depending on server permissions, the impact can include deletion, renaming, permission changes, or other server-supported FTP/SITE operations. An application is affected if it uses the Spring Integration FTP outbound channel adapter or gateway with the chmod option set and the remote file name or remote directory can be controlled by an untrusted message sender.
影響を受ける人
FTP 送信で chmod を使う Spring Integration の開発者
対策
- Spring Integration を 7.1.3・7.0.8・6.5.12・6.4.14・5.5.23 のうち使用中の系列の版以降に更新する
国内の動き
本文に同じ CVE 番号のある国内の注意喚起・報道は、まだ無い。
海外の動き
本文に同じ CVE 番号のある海外の注意喚起・報道は、まだ無い。
PoC
公開されている PoC は、まだ見つかっていない。