LoginSignup
117
68

More than 5 years have passed since last update.

PHPMailerのリモートコード実行脆弱性(CVE-2016-10033)の影響範囲

Last updated at Posted at 2016-12-27

今回の脆弱性


CVE-2016-10033
CVE-2016-10045
CVE-2016-10074(Swift Mailer)


2016/12/28 14:15
Postfix使sendmailPostfixsendmail使Postfixsendmail -X PHPMailer

2016/12/28 15:35
PHPMailer5.2.18 CVE-2016-10045PHPMailer5.2.21
PHPMailer5.2.18

2016/12/29 16:54
Swift Mailer(CVE-2016-10074)
Swift Mailer -  -> 
PHPSwift Mailer使FromSendmailMTA使CMS使
FromSPFfail

2016/12/30 15:00
Swift Mailer(CVE-2016-10074)
https://github.com/swiftmailer/swiftmailer/commits/master


PHPMailer5.2.18
PHPMailerFromsendmail
PHPWeb

PHPMailer使CMS(WordPress, Drupal, 1CRM, SugarCRM, Yii,Joomla!)PHPMailer

WordPresswp-includes/class-phpmailer.php
20161228
: PHPMailerWordPress
WordPress


PHPMailer5.2.18Sendmail使


PCRE

PHP



PCRE

PHP5.2





PoCPCREPoCPCRE


PHPMailer < 5.2.18

Compile PHP without PCRE.

PHP version must be inferior to 5.2.0.


PCREPHP5.2
<?php
require 'PHPMailerAutoload.php';
//$address = 'ichikaway@gmail.com';
$address = '"attacker\" -oQ/tmp/ -X/var/www/cache/phpcode.php  some"@email.com';
var_dump(PHPMailer::validateAddress($address)); // true

PCREPHP
PCREPHP5.2PHPfilter_var()PCREfiter_var()

https://github.com/PHPMailer/PHPMailer/blob/master/class.phpmailer.php#L1068


CVE-2016-10033CVE-2016-10045

5.2.21(2016/12/29)
https://github.com/PHPMailer/PHPMailer



PHPMailerCVE-2016-10033 

Drupal Security advisories

PHPMailerCVE-2016-10033WordPress

WAF


Web Application FirewallScutum2CVE
http://www.scutum.jp/information/technical_articles/phpmailer.html

ScutumWAF
Firewall
117
68
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up

117
68