Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. phpmailer/phpmailer
  4. ›
  5. CVE-2007-3215

CVE-2007-3215: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

February 2, 2024

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.

References

  • cxsecurity.com/issue/WLB-2007060063
  • exchange.xforce.ibmcloud.com/vulnerabilities/34818
  • github.com/PHPMailer/PHPMailer/security/advisories/GHSA-6h78-85v2-mmch
  • github.com/advisories/GHSA-6h78-85v2-mmch
  • seclists.org/fulldisclosure/2011/Oct/223
  • sourceforge.net/p/phpmailer/bugs/192/
  • web.archive.org/web/20070714054359/http://larholm.com/2007/06/11/phpmailer-0day-remote-execution/
  • yehg.net/lab/pr0js/advisories/%5BvTiger_5.2.1%5D_rce

Code Behaviors & Features

Detect and mitigate CVE-2007-3215 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.7.4

Fixed versions

  • 1.7.4

Solution

Upgrade to version 1.7.4 or above.

Impact 6.8 MEDIUM

AV:N/AC:M/Au:N/C:P/I:P/A:P

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

packagist/phpmailer/phpmailer/CVE-2007-3215.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:41 +0000.