Does this affect PHPWCMS?
http://sourceforge.net/tracker/index.ph ... tid=385707
PHPMailer Vulnerability
If the above advisory is relevent, you should open:
include/inc_ext/phpmailer/class.phpmailer.php
and replace:
with:
include/inc_ext/phpmailer/class.phpmailer.php
and replace:
Code: Select all
function SendmailSend($header, $body) {
if ($this->Sender != "")
$sendmail = sprintf("%s -oi -f %s -t", $this->Sendmail, $this->Sender);
else
$sendmail = sprintf("%s -oi -t", $this->Sendmail);
Code: Select all
function SendmailSend($header, $body) {
if ($this->Sender != "") {
$sendmail = sprintf("%s -oi -f %s -t", escapeshellcmd($this->Sendmail), escapeshellarg($this->Sender));
} else {
$sendmail = sprintf("%s -oi -t", escapeshellcmd($this->Sendmail));
}
-
- Posts: 317
- Joined: Mon 19. Apr 2004, 06:10
- Location: Greenville, SC USA
- Contact: