Posts in Secure IT Practices
Page Content
A great example of how NOT to save passwords
See this account of how someone modified some roadside signs that were password protected. Oops! Not the way to protect a password. Even the aliens know that.
ZUG: Comedy Articles: Electronic Road Signs and Me:
Shiflett on the danger of cross-domain AJAX scripting
Chris Shiflett has posted a good piece in his blog on the potential danger of cross-domain AJAX scripting (digg here). When Chris and I discussed this at OSCON, I was pretty surprised that anyone would think that violating the same-origin restrictions was in any way a good idea. His post gives a good example of how dangerous this would be.
The biggest mistake of Myspace
Myspace, the super-popular web site that your kid uses and you don't, was once again hit by a worm, this time utilizing Macromedia Flash as its primary vector. This was a reminder for me of just how badly Myspace has screwed up when it comes to input filtering:
- They use a "blacklist" approach, disallowing customized markup that they know could be an issue. How confident are you that they covered all their bases, and could anticipate future problems? I don't trust my own code that much, let alone theirs.
- They allow embed HTML tags. That means letting folks embed arbitrary content that utilizes plugins, like... Flash. While Myspace filters Javascript, they seem to have forgotten that Flash has Javascript interaction and DOM manipulation capabilities. If you're a Myspace user, you may have noticed Javascript alert()-style pop-up windows appearing on some profiles -- those are generated by embedding an offsite Flash program into a profile, which then generates Javascript code.
Hacking the MacBook for Biometric Security
Via Infinite Loop, I came across an interesting post from a hawdcore MacBook Pro user who bellied up to the bar and retrofitted a Sony fingerprint scanner into his precious Apple laptop.  No indication that the hardware actually interfaces at all with OS X, but it's pretty cool, and maybe Apple will get some inspiration from this. 8)
OSCON 2006: PHP Security BOF
So who's going to OSCON 2006? I am, and if you are too, drop me a line so we can meet up. I'm also going to be "moderating" a PHP Security BOF meet, so if you have some interest in PHP Security or secure web dev in general, come by and participate in the chaos.
If you're planning on going, make sure to check out the official wiki and the OSCamp wiki.


