Update: Critical Vulnerability In Phpmailer Library. Should Be Fixed Asap

There is no /var/log folder at all.

I can't attach a screenshot at all in this reply.

btw ?dispatch=tools.view_changes has revealed no core file changes.

If you are on a Linux server you will have a /var/log. This is not the same as var/log which would be relative to the root of your store and probably doesn’t exist…

I guess the CS-Cart support team will have a look when they fix what they broke.

'Maybe' it was me changing to php 7.0, having the cart stop working then changing back to php 5.6

Who knows.

1) they didn't break it. It is open-source software used at millions of sites (cs-cart is but a very small percentage). The vulnerability has been there since day one of that open-source project's release.

2) The odds of you suddenly being affected by this vulnerability is next to zero. And believing that this vulnerability does anything to impact the operation of the cart itself is incorrect..

If exploited, you would probably see a large increase in your site traffic (no, it wasn't your astute marketing). It would be spammers using your cart to send email.

It is a hole that would require quite a bit of specific cs-cart knowledge to exploit. Cs-cart is way too small a market share for a spammer to spend the time figuring out how to exploit it with cs-cart. One of the advantages of being a small player. Just do the upgrade and the one-line change will be there. The whole package was released so I'm assuming there are a lot of other defect corrections that go along with the SP release.

Whatever the reason for my php mailer not sending emails, it occurred after the cart was upgraded.

This is a fact. As to why I am only guessing.

Changed from php NON mail function to sendmail function and it worked but
when I tried php mail again it WORKED ???
Haunted script ??

sendmail is okay, but it doesn't require any authentication and hence relies on a paramter to identify the sender. It's not as secure as smtp and your emails could be filtered out by spam agents.

Having applied the update, a couple days ago, I now have this error when changing order status, I have never seen before, dont think it would take a couple of days to raise its head. Anyone else have same problem

[background=#f2dede]Mailer Error: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting[/size][/background]

Then when changing to PHP mail, get error below..poss server error anyone ?

ErrorMessage could not be sent.
Mailer Error: Could not instantiate mail function

Having applied the update, a couple days ago, I now have this error when changing order status, I have never seen before, dont think it would take a couple of days to raise its head. Anyone else have same problem

Mailer Error: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting[/size]

Then when changing to PHP mail, get error below..poss server error anyone ?

ErrorMessage could not be sent.
Mailer Error: Could not instantiate mail function

I have asked my host to look into this and after going back and forth, it was merely a password problem.

Sorted!

Hi All

I have installed both patches to 4.4.2 and over the last few days I have had several customers ring to check their order (STATUS).

They haven't been getting any emails at all,

May be pure coincidence, but may be not.

I have also looked in my Order Statuses and discovered that there is no TICK BOX for notify customer, but if you look HERE there should be one.

I am pretty sure it was there before! I haven't made any other changes.

Any ideas please.

Thanks in advance

Barry

I applied the patch and check box is still there for order status P

The first thing should be checked is wether sendmail is used as Mail Agent on your server. Accordingly to this statistics: Mail (MX) Server over 86% web servers in the internet are not affected by this vulnerability. It is because Postfix, Exim do not allow to use vulnerable parameters.

Anyway our tech support will check this for you.

Also if you are using SMTP you are not affected by this. i.e. Your Settings: E-Mails has Method of sending e-mails set to via SMTP server. As most hosts these days require using SMTP to send emails so they can track accounts sending spam most likely you are already configured this way.

https://github.com/PHPMailer/PHPMailer/wiki/About-the-CVE-2016-10033-and-CVE-2016-10045-vulnerabilities

"You are also safe if you're using PHPMailer's SMTP transport (i.e. you call $mail->isSMTP() in your code), as that transport does not execute shell commands."

I applied the patch and check box is still there for order status P

Thanks John

Very strange, *Edit. I only have one tick box from list below which is the supplier. Order Status P

In the data base I have

Notify

Notify_department

Notify_supplier

I assume the plain Notify is the customer and all are set to ticked/yes

Hope this is a coincidence coz I can't tick any box for customer

Barry


I have also looked in my Order Statuses and discovered that there is no TICK BOX for notify customer, but if you look HERE there should be one.

I am pretty sure it was there before! I haven't made any other changes.

From the page you linked to "Properties marked with * won’t appear if you enable the email template editor. In that case you’re supposed to manage email notifications related to order statuses via the email template editor." Notify customer is marked with a *

From the page you linked to "Properties marked with * won’t appear if you enable the email template editor. In that case you’re supposed to manage email notifications related to order statuses via the email template editor." Notify customer is marked with a *

DOH!

Thanks for that, I should have read all of it!!!! Doesn't answer question of why emails don't seem to be being sent. Time will tell and I'll do some testing

Thanks again John and straygecko

BarryH. My cart ( 4.3.9 ) php mailer suddenly stopped sending order notifications even though the right boxes were ticked.

Maybe it was the patch or a recent upgrade but not 100% sure. Out of the blue it just started working again...lol

Termalert.

Yeah had been following the posts on here and when I got calls I thought it was best place to post.

Have tested emails and they appear to be going, maybe I just have some NON-TECHY customers? LOL

Thanks

Barry

I have a problem with store. It doesn't send e-mails any more, but it used to do it some time ago (last order with e-mail sent 20/12/2016). I had 4.4.2 from 07/12/2016. Then I updated store to 4.4.2 SP2 and e-mails stopped to be sent. I'm using SMTP method. When I create new admin account and I have "inform user" checked I get this error "Mailer Error: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting".

Termalert.

Yeah had been following the posts on here and when I got calls I thought it was best place to post.

Have tested emails and they appear to be going, maybe I just have some NON-TECHY customers? LOL

Thanks

Barry

Often the case with non technical people, plausible deniability in their eyes ;)

[Tue Jan 10 15:56:59.458425 2017] [fcgid:warn] [pid 24653:tid 140692667926272] [client 89.67.xx.xx:53522] mod_fcgid: stderr: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in /home/admin/domains/zestudni.pl/public_html/app/lib/vendor/phpmailer/phpmailer/class.smtp.php on line 367, referer: https://www.zestudni.pl/myadmin.php?dispatch=profiles.update&user_id=45&user_type=A

Hello again, I found something like this in httpd error log.