Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Member webfeatus's Avatar
    Join Date
    Jul 2003
    Location
    Bali
    Posts
    37

    Default form-to-email What is acceptable?

    I have been informed:

    "All versions of formail.pl and recpective variants (clones, cgimail etc.) expect those explicity release by the CPanel Group are hereby banned. ALL versions are hackable."

    So what scripts are OK?

    I recently changed all my scripts to NMS_FormMail.

    I believe this to be secure. It is a project in process, updated regularly. (nms)

    What is "explicity release by the CPanel?"
    Last edited by webfeatus; 09-05-2003 at 12:30 PM.

  2. #2
    Member Stefaans's Avatar
    Join Date
    Mar 2002
    Location
    Vancouver, Canada
    Posts
    445

    Default

    We also recommend the NMS formmail scripts to our clients for the exact reason you mention -- it's an ongoing project. And also because they have a couple of other scripts that even beginners find easy enough to implement.

    The reference to scripts released by cPanel will be to the ones that reside in /usr/local/cpanel/cgi-sys. You httpd.conf automatically enables them for all domains on your server in the form of www.anydoamin.com/cgi-sys.

    cPanel.net Support Ticket Number:

  3. #3
    Member
    Join Date
    Aug 2002
    Posts
    1,052

    Default

    I agree with both of you, NMS is the way to go for sure.

    cPanel.net Support Ticket Number:

    The rest of those who have gone before us cannot steady the unrest of those to follow.

  4. #4
    Member webfeatus's Avatar
    Join Date
    Jul 2003
    Location
    Bali
    Posts
    37

    Default

    So is NMS "hackable"

    Of course, just about everything is.

    However, I believe that the limitation that NMS provides in terms of the number of recipients for an email should be delivered to would prevent mass email spamming.

    Maybe this variable can be hacked in the script itself.

    Anyone know?

  5. #5
    Member
    Join Date
    Mar 2002
    Location
    Alberta, Canada
    Posts
    1,509

    Default

    This what I mention to my Clients:

    ---
    Any Form script that requires the use of this type coding:

    <input type="hidden" name="recipient" value="someone@yourdomain.com">

    is old fashioned and outdated. Also makes it very easy for Spam Bots to grab the listed eMail address for inclusion on many, many Spammer's Lists—and we're on enough of those already.

    Instead, we direct you to using a much better Form script called JunkStop, which is also freely available. An added advantage is to take the extra step of "renaming the form script" so it is much harder for anyone to find.
    ---

    As "NMS" uses the above type coding, I could not recommend it to anyone. Form scripts today, should always have the eMail addresses in a seperate location that can be accessed only by the script itself.

    JunkStop may not be as easy -- for beginners to use -- as some others, but if I have to choose between security and ease-of-use, security gets my vote.

    cPanel.net Support Ticket Number:
    Helping people Host, Create, and Maintain their Web Site
    Also providing Server Admin Services - setup / troubleshooting

    http://potentproducts.com/

  6. #6
    Member webfeatus's Avatar
    Join Date
    Jul 2003
    Location
    Bali
    Posts
    37

    Default

    Point taken.
    And thanks for the tip about JunkStop.

    However "cPanel advocated" www.anydoamin.com/cgi-sys also uses this coding. So my question is:
    "How is the above (cPanel) script any more secure than nms?
    Last edited by webfeatus; 09-05-2003 at 10:01 PM.

  7. #7
    Member
    Join Date
    Mar 2002
    Location
    Alberta, Canada
    Posts
    1,509

    Default

    Not sure what your question is?

    What "cPanel advocated" or who informed you on not using any version of formail.pl, is where I get lost.

    The script I suggested has the basic security features every form script should have; hidden eMail addresses, input verification and @referers qualifier.

    cPanel.net Support Ticket Number:
    Helping people Host, Create, and Maintain their Web Site
    Also providing Server Admin Services - setup / troubleshooting

    http://potentproducts.com/

  8. #8
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    Originally posted by Website Rob
    Any Form script that requires the use of this type coding:

    <input type="hidden" name="recipient" value="someone@yourdomain.com">

    is old fashioned and outdated. Also makes it very easy for Spam Bots to grab the listed eMail address for inclusion on many, many Spammer's Lists—and we're on enough of those already.
    I fully agree. I think that's one of the main things that make it easy for spammers to use the script. About a year ago I decided to just make my own script with various safety features. The biggest one being that the recipient email is in the script, not the html page. Clients are shown in clear and easy instructions how to change the email address if they want to.

    All spammers can do with my script is send 1 email to the client.

    cPanel.net Support Ticket Number:
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

  9. #9
    Member Stefaans's Avatar
    Join Date
    Mar 2002
    Location
    Vancouver, Canada
    Posts
    445

    Default

    Originally posted by Website Rob
    Any Form script that requires the use of this type coding:

    <input type="hidden" name="recipient" value="someone@yourdomain.com">

    is old fashioned and outdated. Also makes it very easy for Spam Bots to grab the listed eMail address for inclusion on many, many Spammer's Lists—and we're on enough of those already.
    Excellent point. The NMS script has a feature called recipient_alias that addresses this exact problem. Whether people actually use it, is another question.

    Originally posted by Webfeatus
    However, I believe that the limitation that NMS provides in terms of the number of recipients for an email should be delivered to would prevent mass email spamming.
    Another important point made. The default setting in NMS (as likely used by most beginners) makes me feel OK about this script.

    I haven't even bothered to check the cPanel formmail script. Does it offer any of these "security" features.

    The first time ever I noticed the cPanel scripts was when people complained about its vulnerabilities. I disabled it immediately and it's still that way today

    cPanel.net Support Ticket Number:

Similar Threads & Tags
Similar threads

  1. creating email from the form
    By Alidad in forum cPanel Developers
    Replies: 2
    Last Post: 03-30-2009, 10:45 AM
  2. can't send email from form
    By Stanleytiew in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 02-26-2006, 07:20 PM
  3. Setting Up Email thru Web Email Form
    By simplymagick in forum E-mail Discussions
    Replies: 2
    Last Post: 12-16-2005, 08:05 PM
  4. Form Email Processing?
    By jeffsb in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-20-2005, 09:48 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube