Skip to content
OpenAdvisories
High CVE-2007-3215 EUVD-2024-0536GHSA-6h78-85v2-mmch

PHPMailer Shell command injection

Published Jun 14, 2007 · Updated Aug 7, 2024 · Assigned by mitre

Description

PHPMailer 1.7, when configured to use sendmail, allows remote attackers to execute arbitrary shell commands via shell metacharacters in the SendmailSend function in class.phpmailer.php.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libphp-phpmailer 1.73-4 —
Debian 14 wordpress 2.2.1-1 —
Debian 13 libphp-phpmailer 1.73-4 —
Debian 13 wordpress 2.2.1-1 —
Debian 12 libphp-phpmailer 1.73-4 —
Debian 12 wordpress 2.2.1-1 —
Debian 4.0 libphp-phpmailer 1.73-2etch1 DSA-1315-1

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist phpmailer/phpmailer < 1.7.4 1.7.4 GHSA-6h78-85v2-mmch

Advisories 1

References