Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
2.7.17, 3.0.7, 3.1.3, 3.2
-
MOODLE_27_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE, MOODLE_32_STABLE
-
MOODLE_27_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE, MOODLE_32_STABLE
-
MDL-57531-master-phpmailer -
Description
PHPMailer should be updated to 5.2.21+ - was .18 when opening this issue BUT a 0-day vulnerability was found in it: CVE-2016-10045. See more details in the comments too - in all the security supported branches, https://legalhackers.com/advisories/PHPMailer-Exploit-Remote-Code-Exec-CVE-2016-10033-Vuln.html:
A successful exploitation could let remote attackers to gain access to
the target server in the context of the web server account which could
lead to a full compromise of the web application.
At the time of .18 there was already an exploit but not publicly available but then when .18 was released a public exploit was incorrectly published (then becoming a 0-day vulnerability!): PHPMailer has already patched the code for both the two CVEs.
Please keep care of new properties/features to avoid kind of MDL-52637 and MDL-57474 issues:
- 5.2.18 (CVE-2016-10033): https://github.com/PHPMailer/PHPMailer/compare/v5.2.16...PHPMailer:v5.2.18. From what I've seen there should be no issue, including double reading their changelog (PHP 7.1 support in CI is a plus since 5.2.17+).
- 5.2.21 (CVE-2016-10045): fixes the 0-day vulnearbility added in .18 but added a new functional limit at least when using VERP addresses for the sender when using mail() and not an SMTP host.
Attachments
Issue Links
- blocks
-
MDL-57573 Upgrade PHPMailer to 5.2.23
-
- Closed
-
- has a non-specific relationship to
-
MDL-28513 Allow specification of admin user email in CLI installer
-
- Closed
-
- has been marked as being related by
-
MDL-57567 validate_email incorrectly allows repeated dots.
-
- Closed
-
- is duplicated by
-
MDL-57535 [CVE-2016-10033] PHPMailer < 5.2.18 Remote Code Execution
-
- Closed
-