CWE
NVD-CWE-Other 77
Advisory Published
Advisory Published
Updated

CVE-2007-3215: Command Injection

First published: Thu Jun 14 2007(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
composer/phpmailer/phpmailer<1.7.4
1.7.4
PHPMailer=1.7
PHPMailer=1.7.1
PHPMailer=1.7.2
PHPMailer=1.7.3
PHPMailer=1.73

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2007-3215?

    CVE-2007-3215 has a high severity due to its potential to allow remote attackers to execute arbitrary shell commands.

  • How do I fix CVE-2007-3215?

    To fix CVE-2007-3215, upgrade PHPMailer to version 1.7.4 or later.

  • What versions of PHPMailer are affected by CVE-2007-3215?

    CVE-2007-3215 affects PHPMailer versions prior to 1.7.4, specifically 1.7, 1.7.1, 1.7.2, 1.7.3, and 1.73.

  • What type of vulnerability is CVE-2007-3215?

    CVE-2007-3215 is a remote command execution vulnerability when PHPMailer is configured to use sendmail.

  • Can CVE-2007-3215 be exploited remotely?

    Yes, CVE-2007-3215 can be exploited remotely if the vulnerable PHPMailer versions are improperly configured.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203