7. line x - no cleaning of any param values is done -- hello spam relay
While I agree that cleansing input is important, it seems unfair to label this script as a "spam relay".
I haven't read every line of this script, but from what i can see the emailing functionality is used in 3 places. 2 of these are messages sent to hard coded email address, (yeah for common sense). THe third is in fact sent to an address specified via the form input -- but since the point of the script is to send an email confirming that the address is valid for registration, there's not a lot of ways arround that.
The email sent will definitely contain information about where it came from, including why it was sent, and how to "Opt Out" -- including a phone number (which I have to applaud the inclusion of). In fact, the only means a malicious user has to infuence the body of this message is via "$name ... and that's not even a value they are allowed to submit directly, it must be the "username" portion of the email they want to send.
This script may have a lot of issues, but being an open relay doesn't seem to be one of them.
In reply to Re: Re: How many security holes can you find?
by hossman
in thread How many security holes can you find?
by dragonchild
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |