Vulnérabilité dans ansible (CVE-2015-6240)
Résumé
vulnérabilité dans ansible (CVE-2015-6240). L'exploitation peut entraîner la prise de contrôle totale du système. Atténuation : mise à jour vers `ca2f2c4ebd7b5e097eab0a710f79c1f63badf95b, 952166f48eb0f5797b75b160fd156bbe1e8fc647, 1.9.2` ou plus.
Résumé IA snake-internal / snake-material-v2
Actions de réponse (7 étapes)
Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre
-
1Identify exposure identify
grep -r 'ansible' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で `ansible` を grep し、稼働しているサービス・バージョンを把握する。
-
6Apply patch patch
Upgrade ansible to ca2f2c4ebd7b5e097eab0a710f79c1f63badf95b, 952166f48eb0f5797b75b160fd156bbe1e8fc647, 1.9.2ステージング環境で ca2f2c4ebd7b5e097eab0a710f79c1f63badf95b, 952166f48eb0f5797b75b160fd156bbe1e8fc647, 1.9.2 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 3 で見つけた異常検知の続報チェックを含めること。
-
7Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 3 と同じログクエリでアラート再発が無いか継続監視。
Paquets affectés
Références
- advisory https://github.com/advisories/GHSA-wwwh-47wp-m522
- patch https://github.com/ansible/ansible/commit/952166f48eb0f5797b75b160fd156bbe1e8fc647
- patch https://github.com/ansible/ansible/commit/ca2f2c4ebd7b5e097eab0a710f79c1f63badf95b
- report https://bugzilla.redhat.com/show_bug.cgi?id=1243468
- web http://www.openwall.com/lists/oss-security/2015/08/17/10
- web https://lists.debian.org/debian-lts-announce/2019/09/msg00016.html