+ Reply to Thread
Results 1 to 14 of 14

Thread: Form Spam

  1. #1
    warpsite is offline Member
    Join Date
    Sep 2007
    Posts
    40
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Form Spam

    I started getting spam through the webform at one of my WHB domains, then about a week ago, it started coming through another, too.

    I don't know if this is adding to the load on the server (Gold) or not, helping to cause the recent overloads, but it is a pain to have to deal with it.

    Any idea how to deal with this? I thought about using one of those goofy graphic things, but have no idea how to implement one.

    - Mike

  2. #2
    Alan B's Avatar
    Alan B is offline Super Moderator
    Join Date
    Jul 2007
    Location
    Toronto, Canada
    Posts
    1,386
    WHB Points this Month
    0.00
    WHB Points
    290.00
    Thanks
    0
    Thanked 5 Times in 5 Posts

    Default

    Since there is a risk that your form is being used by spammers, you should open a ticket to inform Support.

    Is this a formmail (form-to-mail) setup? (Web site visitor enters details in a web form, which is then submitted and passed via e-mail to you?)

  3. #3
    Matt R.'s Avatar
    Matt R. is offline WeeHBie
    Join Date
    Jul 2006
    Posts
    1,394
    WHB Points this Month
    0.00
    WHB Points
    60.00
    Thanks
    1
    Thanked 2 Times in 2 Posts

    Default

    Check your logs to see if it's coming from one or a few ips. You can block these using .htaccess, or we can block them at the server firewall level.
    Matt Russell
    WebHostingBuzz CEO

    Follow me on Twitter: http://www.twitter.com/mattdrussell

  4. #4
    aztech's Avatar
    aztech is offline Who am I?
    Join Date
    Aug 2007
    Location
    Sydney, NSW, Australia
    Posts
    86
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Are you receiving emails from your webform? or are others receiving the SPAM?

    A "captcha" is quite easy to implement depending on what sort of "webform" you are using. Search google for "captcha" and maybe php depending on what code you are using.

    Cheers,
    Aaron
    ______________________________
    [B][URL="http://aztech.net.au/"]Aztech Networks[/URL][/B]
    Quality IT and Hosting Solutions
    Check out our current [URL="http://aztech.net.au/support/link.php?id=1"]Hosting Services[/URL]

  5. #5
    Alan B's Avatar
    Alan B is offline Super Moderator
    Join Date
    Jul 2007
    Location
    Toronto, Canada
    Posts
    1,386
    WHB Points this Month
    0.00
    WHB Points
    290.00
    Thanks
    0
    Thanked 5 Times in 5 Posts

    Default

    There's much more he can do to secure it, if it's a form-to-mail type script. Once he answers that, I can give more tips.

  6. #6
    warpsite is offline Member
    Join Date
    Sep 2007
    Posts
    40
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I'm sorry that it took so long for me to answer. I'm not getting emails from the forum to notify me of new posts. I've got it set to "Instant", so maybe it will work eventually.

    It's a form-to-email form that I created using the form tool at my CP, and I'm receiving the spam at my end (I hope that no one else is receiving it). For the longest time it only came through the one domain, tbmp.org, then it started coming through from cfnson.com. Both hosted by WHB. I have yet to see any from watersysop.com, my other WHB-hosted domain. I get about three to ten per day from tbmp.org

    Matt, how do I implement the block using .htaccess? And thnks, Alan for the suggestions. I'll do a Google on captcha's & php.

  7. #7
    Alan B's Avatar
    Alan B is offline Super Moderator
    Join Date
    Jul 2007
    Location
    Toronto, Canada
    Posts
    1,386
    WHB Points this Month
    0.00
    WHB Points
    290.00
    Thanks
    0
    Thanked 5 Times in 5 Posts

    Default

    I don't know what script cPanel includes, but for a long time cPanel included an insecure formmail script. I prefer to choose a script that is known to be secure. This script at nms sourceforge is secure: http://www.scriptarchive.com/nms.html.

    You should not enable recipient addresses to be specified from hidden fields within the html form. Specify the recipient e-mail addresses only within the script itself. Putting them in the form is not secure.

    The script should include a specification for valid referrer addresses or domains. Referrers from anywhere else should be rejected.

    Do not name the script anything obvious: don't use words such as "formmail", "form" or "mail". If it has already been named something obvious, rename it immediately. Name it "macktruck" or "halibut" or something else each client coins for himself.

  8. #8
    EasyCall is offline Member
    Join Date
    Dec 2007
    Posts
    34
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I use this NMS formmail script exclusively because at a former host, that is all they allowed us to use due to it being very secure. I like that you don't have to have your email addresses exposed to spiders and also that only my own domains can mail from it. I highly recommend it. And like Alan, I've renamed it to something unusual.
    Colleen
    [url]http://www.easycall.net[/url]

  9. #9
    warpsite is offline Member
    Join Date
    Sep 2007
    Posts
    40
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you to all of you who offered suggestions to this problem. I also apologize for my delay in answering your posts.

    I added some lines and code to the form page and the php file to include a "Are you human?" question that has to be answered in a particular way in order to get the form to generate an email to me.

    I saw this on an inquiry form at a website that I visit often and liked the format.

    So far it's completely stopped the spam inquiries from generating, and I hope that it will continue to for some time in the future.

    Something that my son brought up, could the spammers use my forms to generate spam that goes to email addresses other than my own? WHB has had to reboot our server frequently due to spam generation load. Could my forms have been significantly adding to this load because of this?

  10. #10
    Alan B's Avatar
    Alan B is offline Super Moderator
    Join Date
    Jul 2007
    Location
    Toronto, Canada
    Posts
    1,386
    WHB Points this Month
    0.00
    WHB Points
    290.00
    Thanks
    0
    Thanked 5 Times in 5 Posts

    Default

    Quote Originally Posted by warpsite View Post
    could the spammers use my forms to generate spam that goes to email addresses other than my own? WHB has had to reboot our server frequently due to spam generation load. Could my forms have been significantly adding to this load because of this?
    Yes, of course! I'm concerned that you created a form-to-mail form without understanding the security issues and you may not have followed the tips I provided. You should not create your own form-to-mail scripts, you should only use established form-to-mail scripts that are known to be safe.

  11. #11
    warpsite is offline Member
    Join Date
    Sep 2007
    Posts
    40
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Alan,

    I used the form generator in my cPanel on my WHB domains. I did not create my own. I did however, add the code for the antispam radio buttons.

    I'm not sure why you would think that I created my own.

    And thank you for answering my question. I was not aware that the forms could be hijacked in that manner to do that. Actually, I'm a bit surprised that WHB provided a form generator that could create forms that were unsecure.

    Now, if I could only figure out how to keep the forms from using html formatting in the email messages that they generate. It's a bit irritating to have to pick messages out from the tags in the text. It doesn't load like html, but the tags are there all the same.

  12. #12
    Alan B's Avatar
    Alan B is offline Super Moderator
    Join Date
    Jul 2007
    Location
    Toronto, Canada
    Posts
    1,386
    WHB Points this Month
    0.00
    WHB Points
    290.00
    Thanks
    0
    Thanked 5 Times in 5 Posts

    Default

    Quote Originally Posted by warpsite View Post
    I'm not sure why you would think that I created my own.
    Because you wrote:
    It's a form-to-email form that I created using the form tool
    It was unclear whether you used an available form-to-email script, or just used a tool to create a standard HTML form to which you added your own form-to-email script. If you don't provide detail, we can't read your mind.

  13. #13
    trulymoney_com is offline New Bee
    Join Date
    Sep 2006
    Location
    TrulyMoney.com
    Posts
    4
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Any form can be spammed! The most used for prevention is by applying CAPTCHA on your form. But you should aware that there are some parts in this world where its people eagerly enough to submit (spam) the form even it's already protected by CAPTCHA. Take a look at http://www.rajakscripts.com/project/...y__data_entry/ in there you frequently can find some open jobs who looking for people who want to do such thing (submitting the form which secured by CAPTCHA). The people (mostly from India & Pakistan) can perform 1000 submissions/account creations or such just for $10. Can you believe it, US$10 for 1.000 performed submissions??!!

  14. #14
    warpsite is offline Member
    Join Date
    Sep 2007
    Posts
    40
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Alan B View Post
    Because you wrote: It was unclear whether you used an available form-to-email script, or just used a tool to create a standard HTML form to which you added your own form-to-email script. If you don't provide detail, we can't read your mind.
    Sorry about that. I assumed that it would be understood that I used WHB's cPanel form tool. My mistake.

    At least the fix is working for now. I know about the Hannah Montana concert snafu with the ticket agents getting past the CAPTCHA on the ticket form. That was one of the reasons I was hesitant about using CAPTCHA on my own forms.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts