PHPMailer class.phpmailer.php SendmailSend command execution
| phpmailer-sendmailsend-command-execution (34818) |
Description:
PHPMailer could allow a remote attacker to execute commands on the system, caused by improper validation of user-supplied input by the SendmailSend function in the class.phpmailer.php script. If PHPMailer is configured to use sendmail, a remote attacker could exploit this vulnerability to execute arbitrary commands on the system.
Note: IPplan, Knowledgeroot Knowledgebase, and other applications implementing the PHPMailer class are vulnerable to this issue.
*CVSS:
| Base Score: | 5.6 |
| Access Vector: | Remote |
| Access Complexity: | High |
| Authentication: | Not Required |
| Confidentiality Impact: | Partial |
| Integrity Impact: | Partial |
| Availability Impact: | Partial |
| Temporal Score: | 4.1 |
| Exploitability: | Unproven |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
Gain Access
Remedy:
Upgrade to the latest version of PHPMailer (1.73 or later), available from the PHPMailer Web site. See References.
For Mambo LaiThai:
Upgrade to the latest version of Mambo LaiThai (4.5.6 or later), available from SourceForge.net: Files. See References.
For IPplan:
Upgrade to the latest version of IPplan (4.86 or later), available from the SourceForge.net: Files Web site. See References.
For Knowledgeroot Knowledgebase:
Upgrade to the latest version of Knowledgeroot Knowledgebase (0.9.8.3 or later), available from the SourceForge.net : Files Knowledgeroot Web site. See References.
For Debian/GNU Linux:
Refer to DSA 1315-1 for patch, upgrade, or suggested workaround information. See References.
For other distributions:
Apply the appropriate update for your system. See References.
References:
- BugTraq Mailing List, Mon Jun 11 2007 - 12:46:16 CDT : PHPMailer command execution.
- DSA 1315-1: New libphp-phpmailer packages fix arbitrary shell command execution.
- Mambo Web site: Mambo 4.6.3 Released!.
- PHPMailer Web site: PHPMailer - full featured email transfer class for PHP.
- SourceForge.net : Files Knowledgeroot: Knowledgeroot - File Release Notes and Changelog - Release Name: 0.9.8.3.
- SourceForge.net: Files: IPplan IP address management system - File Release Notes and Changelog - Release Name: Release 4.86.
- SourceForge.net: Files: MamboLaiThai - File Release Notes and Changelog - Mambo LaiThai Global 4.5.6.
- BID-24417: PHPMailer Remote Shell Command Execution Vulnerability
- CVE-2007-3215: 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.
- DSA-1315: libphp-phpmailer -- missing input validation
- SA25626: PHPMailer "Sender" Arbitrary Command Execution
- SA25758: Knowledgeroot Knowledgebase PHPMailer "Sender" Command Execution
- SA28652: Mambo LaiThai Multiple Vulnerabilities
- USN-791-1: Moodle vulnerabilities
- VUPEN/ADV-2007-2161: PHPMailer SendmailSend() Function Remote Shell Command Injection Vulnerability
- VUPEN/ADV-2007-2267: Knowledgeroot Security Update Fixes PHPMailer Command Injection Vulnerability
Platforms Affected:
- Canonical Ubuntu 8.04 LTS
- Canonical Ubuntu 8.10
- Debian Debian Linux 4.0
- IPplan IPplan prior to 4.86
- KnowledgeRoot Knowledgebase prior to 0.9.8.3
- Mambo Mambo 4.6.2
- Mambo LaiThai Mambo LaiThai 4.5.5 and prior
- PHPMailer PHPMailer 1.73 and prior
Reported:
Jun 11, 2007
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
