typo3/cms-form に 危険なファイルアップロード (CVE-2021-21355)
概要
typo3/cms-form に 脆弱性 (CVE-2021-21355) が存在。データの不正な改ざんを許す可能性があります。対策: 11.1.1 以上に更新。
原文の説明
取得元が公開している説明をそのまま載せています (多くは英語)。
Problem
Due to the lack of ensuring file extensions belong to configured allowed mime-types, attackers can upload arbitrary data with arbitrary file extensions - however, default fileDenyPattern successfully blocked files like .htaccess or malicious.php.
TYPO3 Extbase extensions, which implement a file upload and do not implement a custom TypeConverter to transform uploaded files into FileReference domain model objects are affected by the vulnerability as well, since the UploadedFileReferenceConverter of ext:form handles the file upload and will accept files of any mime-type which are persisted to the default location.
In any way, uploaded files are placed in the default location /fileadmin/user_upload/, in most scenarios keeping the submitted filename - which allows attackers to directly reference files, or even correctly guess filenames used by other individuals, disclosing this information.
No authentication is required to exploit this vulnerability.
Solution
Update to TYPO3 versions 8.7.40, 9.5.25, 10.4.14, 11.1.1 that fix the problem described.
Type converter UploadedFileReferenceConverter is not registered globally anymore and just handles uploaded files within the scope of the Form Framework. Guessable storage location has changed from /fileadmin/user_upload/form_/ to /fileadmin/form_uploads/. Allowed mime-types must match expected file extensions (e.g. application/pdf must be .pdf, and cannot be .html).
Extbase extensions, w…
出典: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
自動生成の要約
取得元のデータ (CVSS・CWE・影響バージョンなど) から SecPulse が定型文で組み立てた要約です。AI は使っていません。正確な内容は下の原文と参照URLで確認してください。
typo3/cms-form という製品で、CVE-2021-21355 という番号がついた弱点 (脆弱性) が見つかりました。
データの不正な改ざんを許す可能性があります。
対策: typo3/cms-form を 11.1.1 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「typo3/cms-form CVE-2021-21355」を検索してください。
CVE-2021-21355 (typo3/cms-form) — CWE-434
攻撃ベクター: ネットワーク経由 (リモート攻撃可) / 認証不要 / 被害者操作不要
修正バージョン: 11.1.1 (即時適用推奨)
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。
typo3/cms-form に 脆弱性 (CWE-434) があります。
typo3/cms-form の影響バージョンはベンダーのアドバイザリで確認してください。
重要度: ?。データの不正な改ざんを許す可能性があります。
11.1.1 に更新してください。
修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。
Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。
対応アクション
SOC/SREチームが順番に実行すべき具体的なステップとコマンド例
-
1影響範囲の特定 identify
grep -r 'typo3/cms-form' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
typo3/cms-formを grep し、稼働しているサービス・バージョンを把握する。 -
2パッチ適用 patch
Upgrade typo3/cms-form to 11.1.1ステージング環境で 11.1.1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3事後検証 verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
影響パッケージ
参照URL
- advisory nvd.nist.gov
- web github.com
- web github.com
- web github.com
- web packagist.org
- web typo3.org