Okay, not so incognito any more. That handle was somewhat annoying for me, never mind anybody else :roll:
I think I've found another. Not really specific to PHP, since most BB sites are rather limited as to user input. Meaning very little HTML is accepted when posting, let alone other coding, such as Java. But, I'll try to explain the example situation to those who may be interested
Let's say we're at a profile edit facility that accepts HTML and also Java. The profile information is being inputted into a
textarea. Any information, including coding, is formatted and shown on the profile viewing page in accordance.
Now, if this is put into the text box...
Code:
<textarea>
text
</textarea>
OTHER TEXT
...closing the
textarea has just closed the one the text is inputted into. So if you now go back to the profile edit, the OTHER TEXT will be displayed on the page
OUTSIDE of where it should be. This means that when the page is submitted, the server will process this data as if it is the main body of the page. Obviously, anything inside the text box is treated in a specific manner, as per the CGI script that deals with it (or Perl, whatever).
Basically, the data has broken away from the main form and into the page body. Therefore, this has opened up all sorts of avenues for attack.
Am I right in saying that, or once again staring into space?