製品・ソフトウェアに関する情報
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.
CVSS3.0 : 重要
Score 8.1
Vector CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS2.0 : 警告
Score 6.8
Vector AV:N/AC:M/Au:N/C:P/I:P/A:P
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.

NVD Vulnerability Information
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.
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