National Vulnerability Database

National Vulnerability Database

National Vulnerability

CVE-2007-3215 Detail


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.

Source:  MITRE      Last Modified:  06/14/2007

Quick Info

CVE Dictionary Entry:
Original release date:
Last revised:


CVSS Severity (version 2.0):
CVSS v2 Base Score:
(AV:N/AC:M/Au:N/C:P/I:P/A:P) (legend)
Impact Subscore:
Exploitability Subscore:
CVSS Version 2 Metrics:
Access Vector:
Network exploitable
Access Complexity:
Not required to exploit
Impact Type:
Provides unauthorized access, Allows partial confidentiality, integrity, and availability violation; Allows unauthorized disclosure of information; Allows disruption of service

Evaluator Impact

Successful exploitation requires that the PHP script using PHPMailer is configured to send e-mails with the Sendmail method, and that the script does not sanitise data before storing it in the Sender property.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to

Hyperlink Resource Type Source Name External Source MISC External Source FULLDISC 20111005 vTiger CRM 5.2.x <= Remote Code Execution Vulnerability External Source SREASON 2802 External Source CONFIRM External Source DEBIAN DSA-1315 External Source BUGTRAQ 20070611 PHPMailer command execution External Source BID 24417 External Source VUPEN ADV-2007-2161 External Source VUPEN ADV-2007-2267 External Source MISC External Source XF phpmailer-popen-command-execution(34818) External Source MISC

Technical Details

Vulnerability Type (View All)

Change History 2 change records found - show changes