CVE-2018-13982

Exp

Smarty_Security::isTrustedResourceDir() in Smarty before 3.1.33 is prone to a path traversal vulnerability due to insufficient template code sanitization. This allows attackers controlling the executed template code to bypass the trusted directory security restriction and read arbitrary files.

公開: 2018-09-18 最終更新: 2024-11-21 Assigner: [email protected] ソース: [email protected]

総合評価: CVE-2018-13982 は悪用リスクが高い(74.6/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 2.33%、85 パーセンタイル) 根拠: 公開エクスプロイトが 1 件参照されています(Exploit-DB)。 推奨対応: 公開エクスプロイトが確認されています。影響範囲の確認、緩和策の適用、パッチ適用を優先してください。

リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。

CVE-2018-13982 に関する公開 exploit 参照(Exploit-DB)

EDB-ID ソース 種別 公開 リンク
nvd_ref exploit_tag Exploit-DB ↗

CVE-2018-13982 の EPSS(Exploit Prediction Scoring System)スコア

EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-04-04 2.45% 2.33% -0.12%
2 2025-11-21 3.74% 2.45% -1.29%
3 2025-11-18 3.74%

EPSS の全履歴 (全 19 件)

CVE-2018-13982 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:N)
事前のログインや昇格は不要で、匿名アクセスのまま踏み台にしうる。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:H)
広範な機微データの読み取りや持ち出しが現実的。
完全性への影響 (I:N)
改ざん・なりすましによる信頼毀損は軽微か、想定されない。
可用性への影響 (A:N)
業務継続に支障が出るレベルの停止や劣化は想定されない。
3.9 3.6 [email protected]
5.0 2.0 MEDIUM
AV:N/AC:L/Au:N/C:P/I:N/A:N クリックして展開
アクセス経路 (AV:N)
ルーティング可能なネットワーク越しに、遠隔から到達・悪用しうる。
アクセスの複雑さ (AC:L)
手順が短く、再現性が高い。
認証 (AU:N)
認証を経ずに攻撃を完結できる。
機密性への影響 (C:P)
機密性は部分的に損なわれる。
完全性への影響 (I:N)
完全性は損なわれない。
可用性への影響 (A:N)
可用性は損なわれない。
10.0 2.9 [email protected]

CVE-2018-13982 の弱点分類(列挙)

CVE-2018-13982 の GitHub Security Advisory

GHSA-7gfx-wxfh-7rvm · 深刻度: high · エコシステム: composer — Smarty Path Traversal Vulnerability

CVE-2018-13982 の OS トラッカー

vendor priority summary link
debian not yet assigned CVE-2018-13982 not yet assigned priority: Debian including 1 source packages (smarty3), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2018-13982
ubuntu medium CVE-2018-13982 medium priority: Ubuntu including 1 source packages (smarty3), 12 status rows across 12 suites (bionic, cosmic, disco, eoan, focal, groovy, hirsute, impish, jammy, trusty, upstream, xenial): not-affected 8, released 2, DNE 1, ignored 1. https://ubuntu.com/security/CVE-2018-13982

CVE-2018-13982 の影響を受けるソフトウェア/構成

ベンダー 製品 バージョン 生の CPE
smarty smarty < 3.1.33 cpe:2.3:a:smarty:smarty:*:*:*:*:*:*:*:*
debian debian_linux 9.0 cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*

CVE-2018-13982 の参考情報

URL タグ
https://github.com/sbaresearch/advisories/tree/public/2018/SBA-ADV-20180420-01_Smarty_Path_Traversal Exploit Patch Third Party Advisory
https://github.com/smarty-php/smarty/commit/2e081a51b1effddb23f87952959139ac62654d50 Patch Vendor Advisory
https://github.com/smarty-php/smarty/commit/8d21f38dc35c4cd6b31c2f23fc9b8e5adbc56dfe Patch Vendor Advisory
https://github.com/smarty-php/smarty/commit/bcedfd6b58bed4a7366336979ebaa5a240581531 Patch Vendor Advisory
https://github.com/smarty-php/smarty/commit/c9dbe1d08c081912d02bd851d1d1b6388f6133d1 Patch Vendor Advisory
https://github.com/smarty-php/smarty/commit/f9ca3c63d1250bb56b2bda609dcc9dd81f0065f8 Patch Vendor Advisory
https://lists.debian.org/debian-lts-announce/2021/04/msg00004.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2021/04/msg00014.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2021/10/msg00015.html Mailing List Third Party Advisory
cvelogic Threat Intelligence