GiorgosK
Thu 7 June 2007, 12:22 pm GMT +0200
I have implemented a check for email header injection in my contact forms I create for clients
but I am not 100% sure I am actually doing it right,
I check to see if there is a "cc:" and "bcc:" string injected in any of my form fields
and if there is I don't send the email (and I actually put a deny rule in the htaccess so they can't try anything else)
I was reading http://www.securephpwiki.com/index.php/Email_Injection
and realized that subject: can also be injected
but since I am checking for cc and bcc I think I am safe ?
since a spammer will specify one of the two (most probably bcc)
Is there any other way that the could use my email to send spam ?
Thanks
but I am not 100% sure I am actually doing it right,
I check to see if there is a "cc:" and "bcc:" string injected in any of my form fields
and if there is I don't send the email (and I actually put a deny rule in the htaccess so they can't try anything else)
I was reading http://www.securephpwiki.com/index.php/Email_Injection
and realized that subject: can also be injected
but since I am checking for cc and bcc I think I am safe ?
since a spammer will specify one of the two (most probably bcc)
Is there any other way that the could use my email to send spam ?
Thanks