Spring Integrationのメッセージ制御によりFTPの追加コマンドを実行される脆弱性
Summary
Spring IntegrationのFTP/FTPS送信コンポーネントで、リモートのファイル名やパスに改行文字を含めると、同じ制御接続で追加のFTPコマンドを実行される脆弱性です。CVSSは7.0で、影響は設定されたFTPアカウントの権限に依存します。修正版は7.1.3、7.0.8、6.5.12、6.4.14、5.5.23で、該当する版を使っている場合は修正版への更新が必要です。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Spring IntegrationのFTP/FTPS送信コンポーネントで、リモートのファイル名やパスに改行文字を含めると、同じ制御接続で追加のFTPコマンドを実行される脆弱性です。CVSSは7.0で、影響は設定されたFTPアカウントの権限に依存します。修正版は7.1.3、7.0.8、6.5.12、6.4.14、5.5.23で、該当する版を使っている場合は修正版への更新が必要です。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| SpringSpring Integration |
≥ 7.1.0, < 7.1.2.1→ 7.1.2.1 ≥ 7.0.0, < 7.0.7.1→ 7.0.7.1 ≥ 6.5.0, < 6.5.12→ 6.5.12 ≥ 6.4.0, < 6.4.14→ 6.4.14 < 5.5.23→ 5.5.23 ≥ 7.1.0, < 7.1.3→ 7.1.3 ≥ 7.0.0, < 7.0.8→ 7.0.8 |
7.1.2.1 7.0.7.1 6.5.12 6.4.14 5.5.23 7.1.3 7.0.8 |
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web spring.io
- web nvd.nist.gov
- web nvd.nist.gov
- web github.com