WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Internet Security Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Internet Security Discussion Forum This forum is for the discussion of security related issues. If you find a new Phishing scheme, spyware, virus or malicious site - let us know about it. If any of the above found you... here's where you ask for help.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-04-2007, 03:31 PM
ajpaulus65's Avatar
ajpaulus65 ajpaulus65 is offline
WebProWorld New Member
 

Join Date: Sep 2007
Posts: 10
ajpaulus65 RepRank 0
Post Contact Us Forms being used for Spams

Hi All

We have been getting spammed with numerous emails via our online forms. Is there a way to avoid these spammers using our forms?


Audrey Paulus
Reply With Quote
  #2 (permalink)  
Old 10-04-2007, 03:45 PM
wige's Avatar
wige wige is offline
Moderator
WebProWorld Moderator
 

Join Date: Jun 2006
Location: United States
Posts: 1,629
wige RepRank 4wige RepRank 4wige RepRank 4
Default Re: Contact Us Forms being used for Spams

Input validation, and using a captcha are probably the best ways to prevent bots from successfully sending these forms.
__________________
The best way to learn anything, is to question everything.
Interestingly Average Security Blog
Reply With Quote
  #3 (permalink)  
Old 10-07-2007, 10:43 AM
computergenius computergenius is offline
WebProWorld Veteran
 

Join Date: Jul 2003
Location: Spain
Posts: 327
computergenius RepRank 1
Default Re: Contact Us Forms being used for Spams

I have a PHP system which uses 2 pages, the form, and the page2 page, which actually sends the data

I use a timecheck - the time between entering the form, and posting, must be reasonable.

Also, I create a random value, which is passed via session AND post, and if the two don't match, then the email gets sent to a different address, for checking when I can be bothered. It has only dropped one email into the trash in error, and that is because I had a form on the site that I had forgotten about.

Personally, I find captcha annoying to use, so I don't want to inflict it on my visitors.
__________________
Pete Clark
Sunny Southern Spain - http://hotcosta.com/Andalucia.Spain
Reply With Quote
  #4 (permalink)  
Old 01-23-2008, 02:39 PM
ajpaulus65's Avatar
ajpaulus65 ajpaulus65 is offline
WebProWorld New Member
 

Join Date: Sep 2007
Posts: 10
ajpaulus65 RepRank 0
Default Re: Contact Us Forms being used for Spams

If I use the captcha, do I need a php or asp system?
Reply With Quote
  #5 (permalink)  
Old 01-24-2008, 01:15 PM
Tech Manager Tech Manager is offline
WebProWorld Pro
 

Join Date: Jan 2008
Posts: 249
Tech Manager RepRank 1
Smile Re: Contact Us Forms being used for Spams

Quote:
Originally Posted by ajpaulus65 View Post
If I use the captcha, do I need a php or asp system?
If you use captcha you could rely on a javascript solution, instead of using a Server Side language. But, relying on client-side solutions to filter data and prevent spam is never a good idea.

If you are using mail forms on your website the chances are high that you are already using a Server Side language like PHP, ASP, etc.

The key to good form processing is to never, ever, ever, under any circumstances, trust user data input. Filter the data for acceptable content and to prevent the form from being hijacked to send spam to other people. If you follow some sound security priciples the odds are you will likely be ok. CAPTCHA is only one tool and it can be circumvented using a variety of methods.
__________________
I use Country IP Blocks as added security for my networks and servers.

Last edited by Tech Manager : 01-24-2008 at 01:16 PM. Reason: typo and clarification
Reply With Quote
  #6 (permalink)  
Old 02-02-2008, 12:37 PM
carbonize carbonize is offline
WebProWorld Veteran
 

Join Date: Jul 2003
Location: Bristol, UK
Posts: 965
carbonize RepRank 0
Default Re: Contact Us Forms being used for Spams

A client of mine was getting spammed via the online contact us form but simply adding captcha stopped it. Quite a lot of spam is just spider like programs crawling the net and posting their rubbish in any input or textarea they find and submitting it. I have seen cases in my forum logs where they have posted spam in the search box :-/

the contact form I wrote for them is a single PHP file with javascript and serverside input validation and uses captcha along with sessions.
__________________
Carbonize
Reply With Quote
  #7 (permalink)  
Old 02-02-2008, 05:22 PM
Tech Manager Tech Manager is offline
WebProWorld Pro
 

Join Date: Jan 2008
Posts: 249
Tech Manager RepRank 1
Default Re: Contact Us Forms being used for Spams

Captcha helps but it is not perfect. It really should be used in combination with some additional server side strategies.
__________________
I use Country IP Blocks as added security for my networks and servers.
Reply With Quote
  #8 (permalink)  
Old 02-03-2008, 02:22 AM
carbonize carbonize is offline
WebProWorld Veteran
 

Join Date: Jul 2003
Location: Bristol, UK
Posts: 965
carbonize RepRank 0
Default Re: Contact Us Forms being used for Spams

I should of also added that they have to wait 10 seconds before the form is accepted and the form has a limited lifespan of seven minutes in which it must be submitted or a new form requested. Most of which I just lifted from Lazarus Guestbook except it doesn't use sessions.
__________________
Carbonize
Reply With Quote
  #9 (permalink)  
Old 02-03-2008, 07:47 AM
Tech Manager Tech Manager is offline
WebProWorld Pro
 

Join Date: Jan 2008
Posts: 249
Tech Manager RepRank 1
Default Re: Contact Us Forms being used for Spams

Sounds like you are n the right track.
__________________
I use Country IP Blocks as added security for my networks and servers.
Reply With Quote
  #10 (permalink)  
Old 02-03-2008, 07:52 AM
carbonize carbonize is offline
WebProWorld Veteran
 

Join Date: Jul 2003
Location: Bristol, UK
Posts: 965
carbonize RepRank 0
Default Re: Contact Us Forms being used for Spams

I should hope so as I've been working on Lazarus for three years now and anti spam is one of the main objectives. To my knowledge Lazarus users receive 0 spam except that which is manually posted and there's little you can do about idiots like that.

Off topic I know but just giving some background information about me.
__________________
Carbonize
Reply With Quote
  #11 (permalink)  
Old 02-03-2008, 08:10 AM
Tech Manager Tech Manager is offline
WebProWorld Pro
 

Join Date: Jan 2008
Posts: 249
Tech Manager RepRank 1
Default Re: Contact Us Forms being used for Spams

I've been working on improved anti-spam methods for years (a never ending battle). My web forms get zero automated spam...Manually added spam is difficult to control, but, all in all, not a big problem.

Now what I would like to see is the ISP's getting more proactive in dealing with spammers on their networks.
__________________
I use Country IP Blocks as added security for my networks and servers.
Reply With Quote
  #12 (permalink)  
Old 02-03-2008, 10:53 AM
carbonize carbonize is offline
WebProWorld Veteran
 

Join Date: Jul 2003
Location: Bristol, UK
Posts: 965
carbonize RepRank 0
Default Re: Contact Us Forms being used for Spams

Tell me about it. Occasionally I go through my logs and report attempted spamming to either the isp or the host since a lot of automated spam comes from abused servers and not home PCs. Same thing applies to a sudden no stop attempt at running exploits against my site. The main problem comes from companies like Layeredtech which own a huge range of IP addresses and dont care what their customers do with their servers. I have blocked all layeredtech IP addresses and about 50-70% of my error log is the server denying them access.




And what's with WPW not sending me notification emails x-(
__________________
Carbonize
Reply With Quote
  #13 (permalink)  
Old 02-10-2008, 03:12 PM
MrGamm MrGamm is offline
WebProWorld New Member
 

Join Date: Dec 2007
Posts: 14
MrGamm RepRank 0
Default Re: Contact Us Forms being used for Spams

The majority of your spam posts will be an attempt to post urls on your pages... preg_match or strpos the incoming information...

look for phpBB code and html anchor tags...

That will drop your spma posts significantly without having to resort to captcha... if you go with captcha... be aware that you should design your own or at the very least go with a good one... people are determined to break the captcha mechanism... look at how much harder Google captcha's have recently become...

be aware that blocking ips and proxies will essentially at one point or another block access to legitimate users...


Breaking a Visual CAPTCHA
__________________
James Weisbrod - programmer
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Internet Security Discussion Forum
Tags: being, contact, forms, spams, used



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CTABUK Spams WPW ctabuk Breakroom (General: Any Topic) 10 07-12-2007 04:36 PM
Domain name is redirected to another one but I receive spams s.ozyurek Domain Discussion Forum 0 12-22-2006 12:05 AM
Human Contact Blondeheiress Affiliate Marketing Discussion Forum 1 12-20-2006 04:27 AM
How do I contact google kevan Google Discussion Forum 2 06-22-2006 01:17 AM
contact us seomaster Services for Sale/Hire 0 11-19-2005 03:20 AM


Search Engine Friendly URLs by vBSEO 3.0.0