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-DEBIAN9-LIBPHPPHPMAILER-602715
  • published19 Aug 2020
  • disclosed30 Dec 2016

Introduced: 30 Dec 2016

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

Amendment

The Debian security team deemed this advisory irrelevant for Debian:9.

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 Debian.

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.