← Retour
UBUNTU-CVE-2018-25047
Vulnérabilité dans smarty3 (UBUNTU-CVE-2018-25047)
Résumé
vulnérabilité dans smarty3 (UBUNTU-CVE-2018-25047). Risque d'opérations non autorisées ou de divulgation. Atténuation : mise à jour vers `3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1+esm1` ou plus.
Résumé IA snake-internal / snake-material-v2
Une vulnérabilité référencée **UBUNTU-CVE-2018-25047** a été découverte dans smarty3.
Risque d'opérations non autorisées ou de divulgation. Score CVSS : ?/10.
Action : mettez à jour smarty3 vers **3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1+esm1** ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « smarty3 UBUNTU-CVE-2018-25047 » sur le site de l'éditeur.
UBUNTU-CVE-2018-25047 (smarty3) —
Vecteur d'attaque : distant (réseau)
Correctif : `3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1+esm1` — appliquer immédiatement
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.
❓ Quel est le problème
Une **vulnérabilité** (non classée) affecte smarty3.
📍 Périmètre concerné
smarty3 — .
🔥 Gravité
Gravité : ?. Risque d'opérations non autorisées ou de divulgation
🔧 Comment corriger
Mettre à jour vers **3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1+esm1**.
🛡️ Contournement
En attendant le correctif : désactivez la fonctionnalité concernée, appliquez des règles WAF, ou restreignez l'accès par ACL réseau.
🔍 Détection
Recherchez dans les logs des requêtes correspondant aux IOC connus de cette CVE. Auditez les SBOM/dépendances.
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 'smarty3' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で `smarty3` を grep し、稼働しているサービス・バージョンを把握する。
-
6Apply patch patch
Upgrade smarty3 to 3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1+esm1ステージング環境で 3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1+esm1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 3 で見つけた異常検知の続報チェックを含めること。
-
7Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 3 と同じログクエリでアラート再発が無いか継続監視。
Paquets affectés
Ubuntu:Pro:16.04:LTS
smarty3
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
Ubuntu:Pro:18.04:LTS
smarty3
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1+esm1"}]}]
Ubuntu:20.04:LTS
smarty3
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1"}]}]
Ubuntu:22.04:LTS
smarty3
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.39-2ubuntu1.22.04.2"}]}]
Ubuntu:24.04:LTS
smarty3
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.48-1ubuntu0.24.04.1"}]}]
Ubuntu:25.10
smarty3
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
Ubuntu:26.04:LTS
smarty3
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
Références
- advisory https://ubuntu.com/security/notices/USN-7158-1
- report https://ubuntu.com/security/CVE-2018-25047
- report https://github.com/smarty-php/smarty/issues/454
- report https://github.com/smarty-php/smarty/commit/f1f7ee6e34c14a8a9dfa5c6ef894d39277a93938
- report https://github.com/smarty-php/smarty/commit/55ea25d1f50f0406fb1ccedd212c527977793fc9
- report https://github.com/smarty-php/smarty/releases/tag/v4.2.1
- report https://github.com/smarty-php/smarty/releases/tag/v3.1.47
- report https://bugs.gentoo.org/870100
- report https://www.cve.org/CVERecord?id=CVE-2018-25047