← 戻る
CVE-2018-14042
bootstrap に クロスサイトスクリプティング (CVE-2018-14042)
概要
bootstrap に XSS (クロスサイトスクリプティング) (CVE-2018-14042) が存在。不正な操作・情報露出のリスクがあります。対策: `3.4.0` 以上に更新。
AI要約 snake-internal / snake-template-v1
In Bootstrap beforeという製品で、CVE-2018-14042 という番号がついた弱点 (脆弱性) が見つかりました。
簡単に言うと「ホームページに悪い書き込みを混ぜ込んで、見た人を困らせる仕組みの欠陥」のことです。
重要度は「情報」。深刻度は低いか、まだ評価されていません。
あなた自身の対応としては、使っている製品やソフトを最新版に更新するのがいちばんの対策です。心配なら、システム担当者や製品の公式サイトで「In Bootstrap before CVE-2018-14042」を検索してください。
CVE-2018-14042 (In Bootstrap before)。重要度: 情報。分類: CWE-79。
対応方針:
1. ベンダー公式アドバイザリで影響バージョン・修正版を確認
2. 該当バージョンが本番で稼働中なら、メンテ計画 (緊急度はKEV/CVSSで判断)
3. パッチ未提供時は WAF ルール・該当機能の無効化等で暫定回避
4. ログ・SIEMで該当CVEのIOC/PoCシグネチャを監視
詳細PoCや修正コミットは、当ページの『参照URL』および MITRE / NVD を参照してください。
❓ 何が問題か
In Bootstrap before の弱点 (CVE-2018-14042)。簡単に言うと「ホームページに悪い書き込みを混ぜ込んで、見た人を困らせる仕組みの欠陥」です。
📍 影響範囲
In Bootstrap before の対象バージョン (各ベンダーアドバイザリで確認)。本番環境で稼働中であれば直ちに影響範囲を確認してください。
🔥 重要度
重要度: 情報。深刻度は低いか、まだ評価されていません。
🔧 修正方法
ベンダー公式アドバイザリで提示された修正版に更新してください。 (CWE-79 の典型的対策パターン)
🛡️ 暫定回避
修正版がまだ提供されていない場合は、影響機能の無効化・WAFルール・ネットワークACLでの遮断・該当バージョンの隔離を検討してください。
🔍 検知方法
バージョン情報の確認、SBOMでの依存関係スキャン、SIEMでの該当CVEに関するIOC・PoCシグネチャ監視を実施してください。
対応アクション (7段階)
SOC/SREチームが順番に実行すべき具体的なステップとコマンド例
-
1影響範囲の特定 identify
grep -r 'bootstrap' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で `bootstrap` を grep し、稼働しているサービス・バージョンを把握する。
-
6パッチ適用 patch
Upgrade bootstrap to 3.4.0ステージング環境で 3.4.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 3 で見つけた異常検知の続報チェックを含めること。
-
7事後検証 verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 3 と同じログクエリでアラート再発が無いか継続監視。
影響パッケージ
rubygems
bootstrap
[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.0"},{"fixed":"3.4.0"}]}]
npm
bootstrap
[{"type":"SEMVER","events":[{"introduced":"2.3.0"},{"fixed":"3.4.0"}]}]
maven
org.webjars:bootstrap
[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.0"},{"fixed":"3.4.0"}]}]
composer
twbs/bootstrap
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.0"}]}]
nuget
bootstrap
[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.0"},{"fixed":"3.4.0"}]}]
rubygems
bootstrap-sass
[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.0"},{"fixed":"3.4.0"}]}]
npm
bootstrap-sass
[{"type":"SEMVER","events":[{"introduced":"2.0.4"},{"fixed":"3.4.0"}]}]
nuget
bootstrap.sass
[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"4.1.2"}]}]
Packagist
twbs/bootstrap
[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.0"},{"fixed":"3.4.0"}]}]
参照URL
- advisory https://nvd.nist.gov/vuln/detail/CVE-2018-14042
- advisory https://github.com/advisories/GHSA-7mvr-5x2g-wfc8
- advisory https://blog.getbootstrap.com/2018/07/12/bootstrap-4-1-2/
- package https://github.com/twbs/bootstrap
- patch https://github.com/twbs/bootstrap/pull/26630
- report https://github.com/twbs/bootstrap/issues/26423
- report https://github.com/twbs/bootstrap/issues/26628
- web https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f@%3Cdev.drill.apache.org%3E
- web https://lists.apache.org/thread.html/52e0e6b5df827ee7f1e68f7cc3babe61af3b2160f5d74a85469b7b0e@%3Cdev.superset.apache.org%3E
- web https://lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442@%3Cdev.drill.apache.org%3E
- web https://lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc@%3Cissues.drill.apache.org%3E
- web https://lists.apache.org/thread.html/r3dc0cac8d856bca02bd6997355d7ff83027dcfc82f8646a29b89b714@%3Cissues.hbase.apache.org%3E
- web https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26@%3Ccommits.pulsar.apache.org%3E
- web https://seclists.org/bugtraq/2019/May/18
- web https://www.oracle.com/security-alerts/cpuApr2021.html
- web http://packetstormsecurity.com/files/156743/OctoberCMS-Insecure-Dependencies.html
- web http://seclists.org/fulldisclosure/2019/May/10
- web http://seclists.org/fulldisclosure/2019/May/11
- web http://seclists.org/fulldisclosure/2019/May/13
- web https://github.com/twbs/bootstrap/issues/26428
- web https://github.com/twbs/bootstrap/commit/2d90d369bbc2bd2647620246c55cec8c4705e3d0
- web https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap/CVE-2018-14042.yml
- web https://www.tenable.com/security/tns-2021-14
- web https://github.com/twbs/bootstrap/commit/2a5ba23ce8f041f3548317acc992ed8a736b609d
- web https://blog.getbootstrap.com/2018/07/12/bootstrap-4-1-2
- web https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap-sass/CVE-2018-14042.yml
- web https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f%40%3Cdev.drill.apache.org%3E
- web https://lists.apache.org/thread.html/52e0e6b5df827ee7f1e68f7cc3babe61af3b2160f5d74a85469b7b0e%40%3Cdev.superset.apache.org%3E
- web https://lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442%40%3Cdev.drill.apache.org%3E
- web https://lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc%40%3Cissues.drill.apache.org%3E
- web https://lists.apache.org/thread.html/r3dc0cac8d856bca02bd6997355d7ff83027dcfc82f8646a29b89b714%40%3Cissues.hbase.apache.org%3E
- web https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26%40%3Ccommits.pulsar.apache.org%3E