Contact Us form Spam with catpcha and cloudflare "Im under attack" mode

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
3 years ago
We keep getting contact us form Spam with catpcha enabled and cloudflare "Im under attack" mode enabled. I've even firewalled against massive lists of known spammer IPs. We get about 10 emails a day, mostly in Russian about casinos.

This is our site:
https://www.pcmtec.com/contactus

How are they getting through this? Is there another page URL that handles the submission that the spammers are calling directly?

Is there anyway to disable the contact us page or change the URL at least? I can't find anywhere to disable it.

Anyone know of any anti spam plugins that check usernames against a list of known spammers? Invision community has an excellent anti spam filter for sign up. If I had time I'd look at implementing my own.

Be happy to pay for the nopcommerce developers time to help rectify this. Is there any paid support we can utilise?
3 years ago
I don't think there is a way to disable it, except to remove the html/form in the .cshtml page.

This may interest you
https://www.nopcommerce.com/en/boards/topic/63152/spam-control-quick-fix#231059
3 years ago
Those database triggers do look useful, but I feel like it will accidentally catch real emails and miss spam.

Really need to outsource this to an external service, or figure out how the spammers get past the captcha and cloudflare check. I doubt they are paying a click farm to manually send these emails.
3 years ago
Just checking - your email address is there on the page
Can you see the spam emails in your Message que or maybe they are just direct spamming this email address ?
3 years ago
Yeah it is all via the message queue. Our email provider blocks all spam from outside domains no issue. It is only because the message queue sends the email from our internal sendgrid email that it gets through.
3 years ago
It seems that the ContactUs page is hard-coded and spammers know that URL. There is no way to prevent calling the ContactUs form from the shop config itself, it just hides it. However, you can block it by making a URL filter. Just install Request Filtering to IIS and add the following code to the web.config (and modify the Redirect URL to match your own webshop URL)

<httpErrors errorMode="DetailedLocalOnly">
  <remove statusCode="404" subStatusCode='-1' />
  <error statusCode="404" path="https://www.myownwebshopurl.com" prefixLanguageFilePath="" responseMode="Redirect"  />
</httpErrors>
<security>
  <requestFiltering>
    <denyUrlSequences>
      <add sequence="/contactus" />
    </denyUrlSequences>
  </requestFiltering>
</security>
3 years ago
I also have recaptcha enabled and use cloudflare. Received a spam email just today wich was in the message queue.

Is the only way to stop spam in the contact us page to block the page altogether? I read somewhere that you can use the contact tab in product details as spammers dont usually access it or something to that nature.

Can we change the url in the routing controller? Or will that brerak something else. Noob source code editor talkin here.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.