CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2021 · Phpmailer Project

CVE-2021-3603
Phpmailer Project Phpmailer vulnerability

PHPMailer 6.4.1 and earlier contain a vulnerability that can result in untrusted code being called (if such code is injected into the host project's scope by other means). If the $patternselect parameter to validateAddress() is set to 'php' (the default, defined by PHPMailer::$validator), and the global namespace contains a function called php, it will be called in preference to the built-in validator of the same name. Mitigated in PHPMailer 6.5.0 by denying the use of simple strings as validator function names.

Affected products

Phpmailer, Fedora. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Phpmailer Project Phpmailer runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Phpmailer Project products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.