Unicode inputs - Major security holes

Discussion in 'PHP' started by AdamSee, Nov 2, 2006.

  1. #1
    How do you convert unicode to letters before you check strings?

    A lot of contact forms are easily bypassable as most scripts don't check for unicode inputs. Even the VB forums, I               Can                      add            loads            of             non-breakable spaces.
     
    AdamSee, Nov 2, 2006 IP
  2. Barti1987

    Barti1987 Well-Known Member

    Messages:
    2,703
    Likes Received:
    115
    Best Answers:
    0
    Trophy Points:
    185
    #2
    There aren't many things you can do with Unicode.

    Browsers do not translate Tags that are written in Unicode, but only text.

    Browsers will display the actual code, untranslated.

    Peace,
     
    Barti1987, Nov 2, 2006 IP
  3. AdamSee

    AdamSee Well-Known Member

    Messages:
    422
    Likes Received:
    28
    Best Answers:
    0
    Trophy Points:
    135
    #3
    What about email contact forms? You can easily insert disallowed words (e.g. content-type: bcc: ) in unicode. Most mail forms won't detect it. However, I know a few that do (.net ones). Thus it seems likely that it is required for better security. I'd test it if I knew how to do an injection attack on a contact form.
     
    AdamSee, Nov 3, 2006 IP