CVE-2018-19518

Exp

University of Washington IMAP Toolkit 2007f on UNIX, as used in imap_open() in PHP and other products, launches an rsh command (by means of the imap_rimap function in c-client/imap4r1.c and the tcp_aopen function in osdep/unix/tcp_unix.c) without preventing argument injection, which might allow remote attackers to execute arbitrary OS commands if the IMAP server name is untrusted input (e.g., entered by a user of a web application) and if rsh has been replaced by a program with different argument semantics. For example, if rsh is a link to ssh (as seen on Debian and Ubuntu systems), then the attack can use an IMAP server name containing a "-oProxyCommand" argument.

公開: 2018-11-25 最終更新: 2026-06-16 Assigner: [email protected] ソース: [email protected]

総合評価: CVE-2018-19518 は悪用リスクが高い(81.3/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 95.23%、100 パーセンタイル) 根拠: 公開エクスプロイトが 7 件参照されています(Exploit-DB)。 直近 1 日で EPSS が +1.39% 上昇。悪用への関心が高まっている可能性があります。 推奨対応: 公開エクスプロイトが確認されています。影響範囲の確認、緩和策の適用、パッチ適用を優先してください。

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

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

EDB-ID ソース 種別 公開 リンク
45914 exploit_db edb 2018-11-29 Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗

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

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

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-15 93.84% 95.23% +1.39%
2 2026-06-11 93.87% 93.84% -0.02%
3 2026-04-09 93.87%

EPSS の全履歴 (全 35 件)

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

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:H)
到達できても、タイミング・負荷・周辺設定など、揃わないと成功しない局面が多い。
必要な権限 (PR:L)
一般ユーザー権限があれば足り、管理者(root 相当)は不要。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:H)
広範な機微データの読み取りや持ち出しが現実的。
完全性への影響 (I:H)
権限の奪取や広範なログ改竄など、システムの信頼根拠を揺るがす改ざんが現実的。
可用性への影響 (A:H)
長時間のサービス停止、データ損壊による復旧不能に近い状態など、利用者に著しい不便を与えうる。
1.6 5.9 [email protected]
8.5 2.0 HIGH
AV:N/AC:M/Au:S/C:C/I:C/A:C クリックして展開
アクセス経路 (AV:N)
ルーティング可能なネットワーク越しに、遠隔から到達・悪用しうる。
アクセスの複雑さ (AC:M)
多少の有利条件は要るが、極端なレアケースではない。
認証 (AU:S)
一度の認証(シングルサインオン含む)を突破すればよい。
機密性への影響 (C:C)
機密性は全面的に損なわれる。
完全性への影響 (I:C)
完全性は全面的に損なわれる。
可用性への影響 (A:C)
可用性は全面的に損なわれる。
6.8 10.0 [email protected]

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

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

vendor priority summary link
debian not yet assigned CVE-2018-19518 not yet assigned priority: Debian including 1 source packages (uw-imap), 2 status rows across 2 suites (bookworm, bullseye): resolved 2. https://security-tracker.debian.org/tracker/CVE-2018-19518
gentoo high CVE-2018-19518: 1 GLSA(s) (202003-57), 1 atom(s) (dev-lang/php); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2018-19518
redhat medium https://access.redhat.com/security/cve/CVE-2018-19518
suse high CVE-2018-19518 severity important: SUSE including 261 source package names (apache2-mod_php5-5.2.14-0.7.30.111.38.1, apache2-mod_php5-5.5.14-109.45.2, …), 656 product×package rows across 17 product lines (SUSE Enterprise Storage 7.1, SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS, … (17 product lines)): Known Not Affected 357, Fixed 299. https://www.suse.com/security/cve/CVE-2018-19518/
ubuntu medium CVE-2018-19518 medium priority: Ubuntu including 6 source packages (php-imap, php5, php7.0, php7.2, php7.3, uw-imap), 72 status rows across 12 suites (bionic, cosmic, disco, eoan, focal, groovy, hirsute, impish, jammy, trusty, upstream, xenial): DNE 48, released 13, not-affected 8, needs-triage 2, ignored 1. https://ubuntu.com/security/CVE-2018-19518

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

ベンダー 製品 バージョン 生の CPE
php php >= 5.6.0, <= 5.6.38 cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
php php >= 7.0.0, <= 7.0.32 cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
php php >= 7.1.0, <= 7.1.24 cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
php php >= 7.2.0, <= 7.2.12 cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
debian debian_linux 8.0 cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
debian debian_linux 9.0 cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
uw-imap_project uw-imap 2007f cpe:2.3:a:uw-imap_project:uw-imap:2007f:*:*:*:*:*:*:*
canonical ubuntu_linux 16.04 cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*
canonical ubuntu_linux 18.04 cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
canonical ubuntu_linux 19.04 cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:*

CVE-2018-19518 の参考情報

URL タグ
http://www.securityfocus.com/bid/106018 Broken Link
http://www.securitytracker.com/id/1042157 Broken Link
https://antichat.com/threads/463395/#post-4254681 Exploit Third Party Advisory
https://bugs.debian.org/913775 Mailing List Third Party Advisory
https://bugs.debian.org/913835 Mailing List Third Party Advisory
https://bugs.debian.org/913836 Mailing List Third Party Advisory
https://bugs.php.net/bug.php?id=76428 Exploit Mailing List Vendor Advisory
https://bugs.php.net/bug.php?id=77153 Exploit Mailing List Vendor Advisory
https://bugs.php.net/bug.php?id=77160 Vendor Advisory
https://git.php.net/?p=php-src.git%3Ba=commit%3Bh=e5bfea64c81ae34816479bb05d17cdffe45adddb
https://github.com/Bo0oM/PHP_imap_open_exploit/blob/master/exploit.php Exploit Third Party Advisory
https://lists.debian.org/debian-lts-announce/2018/12/msg00006.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2019/03/msg00001.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2021/12/msg00031.html Mailing List Third Party Advisory
https://security.gentoo.org/glsa/202003-57 Third Party Advisory
https://security.netapp.com/advisory/ntap-20181221-0004/ Third Party Advisory
https://usn.ubuntu.com/4160-1/ Third Party Advisory
https://www.debian.org/security/2018/dsa-4353 Third Party Advisory
https://www.exploit-db.com/exploits/45914/ Exploit Third Party Advisory VDB Entry
https://www.openwall.com/lists/oss-security/2018/11/22/3 Exploit Mailing List Third Party Advisory
cvelogic Threat Intelligence