Yes it’s disgusting the people at McAfee have obvious XSS errors on their pages. Here is a bit from readwriteweb,

During tests this weekend, we discovered the company who claims to ‘keep you safe from identity theft, credit card fraud…’ has several cross-site scripting vulnerabilities and provides the bad guys with a brilliant — albeit ironic — launching pad from which to unleash their attacks

McAfee XSS Full Article

As you know we have showed other sites along with wordpress themes with obvious XSS problems. XSS shouldn’t be a problem if you followed the following:

  • Dis-allow/Disable all character input to your database
  • Open only the inputs that are needed, ie Field First name only needs alpha characters upper and lowercase only.
  • Verify validation/filter rule works by using proper tests cases. Ha.ck.ers.org has a great list of tests to run, but obvious idea is try and break your own code

What this does is make it so characters such as > < and other high ascii don’t make it into the html output or worse injected into the database. It’s really as simple as that, prevent people from injecting <script> by only allowing alpha thus it would be “script” without the tag and thus render as characters and not an html tag.

If you must allow tags and dangerous characters contain the ability of that data to get lose.
Don’t just output unfilter/validated data into the html render, code, database etc.
PHP provides a wealth of filters to help, you can go to php.net and lookup string functions or filter extensions, along with pear/pecl libraries or even build modules. Many options just use one.

Bookmark and Share

Hawk enterprises is one place where you can get information about programming, download php scripts, and read about news from the development lab of hawk enterprises.

We will be continuing to do this in reduced amounts as the weeks roll on. PHP programming has to take priority. In order for us to survive in this economy.

Look to the future we have a much more multi-faceted site coming.

Bookmark and Share

I was going over the site today on Alexa and I noticed that now 20.9% of my visitors come from India, which beats my 20.7% coming from the United States. Obviously my native language is English, however I can’t be bias like that.

Hindi is translated via Google so now all you have to do is click the link at the bottom, or this link right here and you have your native language.
India flag <Translate hawkenterprises to Hindi

I also have the other two foreign languages spoke available as well French and Portuguese
French flag Portuguese flag

All other languages are translated by using the flags at the bottom of this page and every page on hawk enterprises.

Bookmark and Share

Next Page »