USN-5956-1
Active Unknownlibphp-phpmailer vulnerabilities
Related CVEs
CVE identifiers linked by this publisher.
No explicit CVE relationships were stored for this advisory.
Description
Dawid Golunski discovered that PHPMailer was not properly escaping user input data used as arguments to functions executed by the system shell. An attacker could possibly use this issue to execute arbitrary code. This issue only affected Ubuntu 16.04 ESM. (CVE-2016-10033, CVE-2016-10045) It was discovered that PHPMailer was not properly escaping characters
Read full publisher description 1984 characters
Dawid Golunski discovered that PHPMailer was not properly escaping user input data used as arguments to functions executed by the system shell. An attacker could possibly use this issue to execute arbitrary code. This issue only affected Ubuntu 16.04 ESM. (CVE-2016-10033, CVE-2016-10045) It was discovered that PHPMailer was not properly escaping characters in certain fields of the code_generator.php example code. An attacker could possibly use this issue to conduct cross-site scripting (XSS) attacks. This issue was only fixed in Ubuntu 16.04 ESM and Ubuntu 18.04 ESM. (CVE-2017-11503) Yongxiang Li discovered that PHPMailer was not properly converting relative paths provided as user input when adding attachments to messages, which could lead to relative image URLs being treated as absolute local file paths and added as attachments. An attacker could possibly use this issue to access unauthorized resources and expose sensitive information. This issue only affected Ubuntu 16.04 ESM. (CVE-2017-5223) Sehun Oh discovered that PHPMailer was not properly processing untrusted non-local file attachments, which could lead to an object injection. An attacker could possibly use this issue to execute arbitrary code. This issue only affected Ubuntu 16.04 ESM. (CVE-2018-19296) Elar Lang discovered that PHPMailer was not properly escaping file attachment names, which could lead to a misinterpretation of file types by entities processing the message. An attacker could possibly use this issue to bypass attachment filters. This issue was only fixed in Ubuntu 16.04 ESM and Ubuntu 20.04 ESM. (CVE-2020-13625) It was discovered that PHPMailer was not properly handling callables in its validateAddress function, which could result in untrusted code being called should the global namespace contain a function called 'php'. An attacker could possibly use this issue to execute arbitrary code. This issue was only fixed in Ubuntu 20.04 ESM and Ubuntu 22.04 ESM. (CVE-2021-3603)
No solution guidance was provided.
Affected packages
Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.
Shared package data
Applies to all 2 occurrences- Ecosystem
- Ubuntu:Pro:18.04:LTS
- Fixed version
- 5.2.14+dfsg-2.3+deb9u2ubuntu0.1~esm1
-
1libphp-phpmailerSource package
Occurrence-specific details
- Package role
- Source package
Versions
- 5.2.14+dfsg-2.3
- 5.2.14+dfsg-2.3+deb9u1build0.18.04.1
- 5.2.14+dfsg-2.3+deb9u2build0.18.04.1
Affected ranges and events
- ECOSYSTEM
- introduced: 0
- Fixed at 5.2.14+dfsg-2.3+deb9u2ubuntu0.1~esm1
-
2libphp-phpmailerBinary package
Occurrence-specific details
- Package role
- Binary package
Versions
Not supplied in this occurrence.
Affected ranges and events
Not supplied in this occurrence.
CVSS assessments
Publisher supplied scores and vectors; these do not replace the advisory severity above.
No CVSS assessments were provided.
Publisher references
8- https://ubuntu.com/security/notices/USN-5956-1
- https://ubuntu.com/security/CVE-2016-10033
- https://ubuntu.com/security/CVE-2016-10045
- https://ubuntu.com/security/CVE-2017-5223
- https://ubuntu.com/security/CVE-2017-11503
- https://ubuntu.com/security/CVE-2018-19296
- https://ubuntu.com/security/CVE-2020-13625
- https://ubuntu.com/security/CVE-2021-3603
Provenance
- Schema version
- 1.9.2
- Parser version
- ubuntu-osv/1
- Data license
- CC-BY-SA-4.0
- Attribution
- Canonical / Ubuntu Security Team
No publisher provenance records were supplied.