Contournement d'authentification dans swauth (CVE-2017-16613)
Résumé
contournement d'authentification dans swauth (CVE-2017-16613). L'exploitation peut entraîner la prise de contrôle totale du système. Atténuation : mise à jour vers `70af7986265a3defea054c46efc82d0698917298, 1.3.0` 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 'swauth' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で `swauth` を grep し、稼働しているサービス・バージョンを把握する。
-
6Apply patch patch
Upgrade swauth to 70af7986265a3defea054c46efc82d0698917298, 1.3.0ステージング環境で 70af7986265a3defea054c46efc82d0698917298, 1.3.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 3 で見つけた異常検知の続報チェックを含めること。
-
7Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 3 と同じログクエリでアラート再発が無いか継続監視。
Paquets affectés
Références
- advisory https://www.debian.org/security/2017/dsa-4044
- advisory https://github.com/advisories/GHSA-qhq8-xwqv-pvv9
- patch https://github.com/openstack/swauth/commit/70af7986265a3defea054c46efc82d0698917298
- web http://www.securityfocus.com/bid/101926
- web https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=882314
- web https://bugs.launchpad.net/swift/+bug/1655781