NVD Vulnerability Detail
Search Exploit, PoC
CVE-2016-10045
Summary

The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail command and consequently execute arbitrary code by leveraging improper interaction between the escapeshellarg function and internal escaping performed in the mail function in PHP. NOTE: this vulnerability exists because of an incorrect fix for CVE-2016-10033.

Publication Date Dec. 31, 2016, 4:59 a.m.
Registration Date Jan. 26, 2021, 2:04 p.m.
Last Update Nov. 21, 2024, 11:43 a.m.
CVSS3.1 : CRITICAL
スコア 9.8
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
CVSS2.0 : HIGH
Score 7.5
Vector AV:N/AC:L/Au:N/C:P/I:P/A:P
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃前の認証要否(Au) 不要
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
Get all privileges. いいえ
Get user privileges いいえ
Get other privileges いいえ
User operation required いいえ
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:phpmailer_project:phpmailer:*:*:*:*:*:*:*:* 5.2.20
Configuration2 or higher or less more than less than
cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:* 4.7
Configuration3 or higher or less more than less than
cpe:2.3:a:joomla:joomla\!:*:*:*:*:*:*:*:* 1.5.0 3.6.5
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
PHPMailer の isMail トランスポートにおける mail コマンドに余分なパラメータを渡される脆弱性
Title PHPMailer の isMail トランスポートにおける mail コマンドに余分なパラメータを渡される脆弱性
Summary

PHPMailer の isMail トランスポートには、Sender プロパティが設定されていない場合、mail コマンドに余分なパラメータを渡され、その結果、任意のコードを実行される脆弱性が存在します。 本脆弱性は、CVE-2016-10033 に対する修正が不十分だったことによる脆弱性です。

Possible impacts リモートの攻撃者により、escapeshellarg 関数と mail 関数で実行される内部エスケープ処理との間の不正な相互作用を利用されることで、mail コマンドに余分なパラメータを渡され、その結果、任意のコードを実行される可能性があります。
Solution

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date Dec. 28, 2016, midnight
Registration Date Jan. 4, 2017, 11:29 a.m.
Last Update Jan. 4, 2017, 11:29 a.m.
Affected System
PHPMailer project
PHPMailer 5.2.20 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
0 [2017年01月04日]
  掲載
Feb. 17, 2018, 10:37 a.m.