Arbitrary Command Injection The advisory has been revoked - it doesn't affect any version of package libphp-phpmailer  (opens in a new tab)


Threat Intelligence

Exploit Maturity
Mature
EPSS
89.18% (100th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU1910-LIBPHPPHPMAILER-667224
  • published30 Dec 2016
  • disclosed30 Dec 2016

Introduced: 30 Dec 2016

CVE-2016-10045  (opens in a new tab)
CWE-77  (opens in a new tab)

Amendment

The Ubuntu security team deemed this advisory irrelevant for Ubuntu:19.10.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libphp-phpmailer package and not the libphp-phpmailer package as distributed by Ubuntu.

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.