|
PHPMailer "Sender" Arbitrary Command Execution
|
|
Secunia Advisory:
|
SA25626
|
|
|
Release Date:
|
2007-06-12
|
|
Last Update:
|
2007-06-15
|
|
Popularity:
|
7,853 views
|
|
|
Critical:
|
 Highly critical
|
|
Impact:
|
System access
|
|
Where:
|
From remote
|
|
Solution Status:
|
Unpatched
|
|
| Software: | PHPMailer 1.x
|
|
|
Subscribe:
|
Instant alerts on relevant vulnerabilities
|
|
| CVE reference: | CVE-2007-3215
|
|
Description: Thor Larholm has discovered a vulnerability in PHPMailer, which can be exploited by malicious people to compromise a vulnerable system.
Input passed to the Sender property in the PHPMailer class is not properly sanitised before being used as a command line argument. This can be exploited to inject arbitrary shell commands.
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.
The vulnerability is confirmed in version 1.73. Other versions may also be affected.
Solution: Edit the source code to ensure that input is properly sanitised.
Provided and/or discovered by: Thor Larholm
Changelog: 2007-06-15: Added CVE reference.
Original Advisory: http://larholm.com/2007/06/11/phpmailer-0day-remote-execution/
|
|
|
Track this Secunia Advisory
|
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.
Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.
|
|
|
About this Secunia Advisory
|
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.
Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
|