Page 1 of 1

Getting bombarded with spam emails via Joomla

Posted: Fri Mar 16, 2018 11:16 pm
by jross
Hello, my client is receiving hundreds of spam emails with the subject, Undelivered Mail Returned to Sender

The message itself is

Subject:
Copy of: ПОПОЛНЕНИЕ ВАШЕГО ЛИЧНОГО СЧЕТА #2672896
From:
"Aussie Princess" <lindsay@aussieprincess.com.au>
Date:
3/16/2018 2:45 AM
To:
<blade19731973@mail.ru>

This is a copy of the following message you sent to Aussie Princess via Aussie Princess Luxury Boat Charters

This is an enquiry email via http://aussieprincess.com.au/ from:
Леночка Козлова <blade19731973@mail.ru>

hxxps://api[.]monosnap[.]com/rpc/file/download?id=HQc7moTAL23OboieIfi5VcNLPWVGCA

Is this happening as a result of the site (Joomla 3.8.6) being hacked? What can I do to stop this torrent of emails?
Any advice would be appreciated.
Thanks, JR

Re: Getting bombarded with spam emails via Joomla

Posted: Sat Mar 17, 2018 12:04 am
by creativesights
You could turn off email sending in the global configuration. It's aggressive, but you're website won't be able to send any email. Additionally it will help confirm whether or not the email is actually coming from the site.

We use Admin Tools Pro on a lot of sites, if you can identify the IP that's on the site, you can block it. Your hosting company can often be a good resource with blocking traffic like that also.

Re: Getting bombarded with spam emails via Joomla

Posted: Sat Mar 17, 2018 12:04 am
by sozzled
There are many topics on this forum that discuss spam and spam emails. I suggest that you use the Joomla forum search search.php

This question is not unique to any specific version of Joomla.

Re: Getting bombarded with spam emails via Joomla

Posted: Sat Mar 17, 2018 12:18 pm
by fcoulter
To be clear about this, it does not mean that your site has been hacked.

It looks as if the spammer is trying to abuse the function that allows the user to send a copy to themselves of a message sent through the contact form.

You can actually turn off the display of the checkbox on the contact form that allows this in the contacts component options. I am not sure though if that stops the email itself from being sent, I guess you would have to try it to see.

Otherwise you can try enabling re-captcha on the contact form, that is usually quite effective. You just need to enable the recaptcha plugin, get some keys (see https://www.google.com/recaptcha/intro/android.html), and set this as the default captcha for your site.

Re: Getting bombarded with spam emails via Joomla

Posted: Mon Mar 19, 2018 6:32 pm
by giovannino
Hello, I got same issue with 3.7.3 standard contacts plugin. The message that automatically arrive to my admin mail is "Delivery Status Notification (Failure)"... with some specific strange email in cirillic or chinese from xxxxxxxx.ru
Did you fix it or not ?
Is it only sent to administator ? It's the only user as far now.
Thanks

Re: Getting bombarded with spam emails via Joomla

Posted: Mon Mar 19, 2018 7:38 pm
by mandville
giovannino wrote:Hello, I got same issue with 3.7.3
then you are using an out of date vulnerable version of joomla.
Did you fix it or not ?
there is nothing for the developers of joomla to fix, the fix is with the adminsitrators of the website that uses joomla .
Is it only sent to administator ? It's the only user as far now.Thanks
well i think you will find its actually sent to the email address listed for the the administrator or the reply to address for the website.

see the answers and suggestions above for how to get you to sort your site out.

Re: Getting bombarded with spam emails via Joomla

Posted: Tue Mar 05, 2019 9:50 pm
by markcrobinson
I was getting the same email spam. I contacted my host who gave the reply below. Thought it might be helpful to share:
Note that one of the sites does not have a contact form, but is still, apparently, vulnerable.

------------------------
Hello,

Thank you for all the information and for including the bounceback. According to the bounceback this email originated from your Joomla installation (/home/xxxxxxxxxxxxx/public_html/index.php).

This specific email is very familiar, as it states the following:

"This is an enquiry email via http:// xxxxxxxxx .com/ from:"

This is typically due to the contact form on your Joomla site being abused. I do see that your contact form uses a form of a captcha. The spammer could potentially be getting through this captcha, or there could be another form (even if it's hidden from the website) that the spammer is taking advantage of. Joomla has built in functionality of 'Send a copy to form submission address' that will email a copy of the email to the person submitting the form.

I don't see the checkbox for this on the site like it usually is, but I'm guessing the spammer is sending the POST request with the send copy attribute included in the POST data. It looks like there is a work around by renaming the component (components/com_mailto/) to something different (like components/com_mailto_DISABLED/).. but this could break some email functionality for the website potentially.

I'd recommend that you contact Joomla for their best recommendation.

Re: Getting bombarded with spam emails via Joomla

Posted: Fri Mar 29, 2019 7:11 pm
by stereosurround
Technically the error is not within Joomla, checking com_contact/controllers/contact.php revealed no flaws. However the ability to directly access a component apart from the menu structure carries serious caveats.

Any publicly available contact can be called directly using:

Code: Select all

/index.php?option=com_contact&view=contact&id=123
The main issue here is paying close attention to the configuration of the contacts component. If neither within global configuration, nor within the contact settings the mail form has been disabled, it will be displayed.

Say you'd want to make a single contact publicly available by adding a menu item using "Single Contact", it is not enough to hide the contact form within that menu item's settings - using the above link in combination to that contact's id will show the contact form.

A short hint to this circumstance within the description of the menu item's configuration would be appreciatable.

Recommendation: If your site does not require sending mails, disable it within global configuration and ideally within php.ini by adding disable_functions = mail. If your server allows further unrequired functions by default (e.g. exec), consider to disable these as well.

Re: Getting bombarded with spam emails via Joomla

Posted: Sun Mar 31, 2019 5:11 pm
by Slackervaara
Joomlas master htaccess has a spam filter for words it works only from mails sent from the site, but you have to change to a unique word in your spam mails:


########## Begin - Basic antispam Filter, by SigSiu.net
## I removed some common words, tweak to your liking
## This code uses PCRE and works only with Apache 2.x.
## This code will NOT work with Apache 1.x servers.
RewriteCond %{QUERY_STRING} \b(ambien|blue\spill|cialis|cocaine|ejaculation|erectile)\b [NC,OR]
RewriteCond %{QUERY_STRING} \b(erections|hoodia|huronriveracres|impotence|levitra|libido)\b [NC,OR]
RewriteCond %{QUERY_STRING} \b(lipitor|phentermin|pro[sz]ac|sandyauer|tramadol|troyhamby)\b [NC,OR]
## Note: The final RewriteCond must NOT use the [OR] flag.
RewriteCond %{QUERY_STRING} \b(ultram|unicauca|valium|viagra|vicodin|xanax|ypxaieo)\b [NC]
RewriteRule .* - [F]
## Note: The previous lines are a "compressed" version
## of the filters. You can add your own filters as:
## RewriteCond %{QUERY_STRING} \bbadword\b [NC,OR]
## where "badword" is the word you want to exclude
########## End - Basic antispam Filter, by SigSiu.net

https://github.com/nikosdion/master-hta ... access.txt

Re: Getting bombarded with spam emails via Joomla

Posted: Mon Apr 01, 2019 12:25 pm
by markcrobinson
stereosurround wrote:
Fri Mar 29, 2019 7:11 pm
Recommendation: If your site does not require sending mails, disable it within global configuration and ideally within php.ini by adding disable_functions = mail. If your server allows further unrequired functions by default (e.g. exec), consider to disable these as well.
... and if it does require sending emails?

Re: Getting bombarded with spam emails via Joomla

Posted: Thu Apr 04, 2019 1:57 pm
by evilded777
Gotta say, some of the defenses here of "Joomla" are a little overboard. If you don't have something helpful to contribute... why?

This is clearly a problem. I have experienced it for a while on two different sites, and I am just trying to find a way to stop it.

I have switched forms, I have secured my mail requiring authentication, I have added captcha, I have removed the contact form from the one contact available.

Nothing has stopped it. We need some help, not people saying its our fault.

Re: Getting bombarded with spam emails via Joomla

Posted: Thu Apr 04, 2019 2:17 pm
by Slackervaara
Against spam this plugin is better than Captcha. It is a mathematical problem:
https://extensions.joomla.org/extension ... heck-plus/

Re: Getting bombarded with spam emails via Joomla

Posted: Sun Apr 28, 2019 6:48 pm
by paulala
@evilded Do you still have this problem. Could you share details if so?