I'm putting together a presentation about Drupal and XSS. I would like to use Ubercart as an example of what we developers need to know.
Between 1.2 and 1.3 Ubercart went through some growing pains that all developers need to know about; if we want our apps to mature.
My basic outline:
* what is XSS
* how to do a XSS
* how to protect from XSS in PHP
* how to protect from XSS in Drupal
* comparison of code from Ubercart 1.2 and 1.3
* lessons learned from Ubercart
some of the resources will include; wikipedia.com, ha.ckers.org, xssed.com
I could use some feed-back from the development team or anybodies else's ideas as to what I should cover.
A writeup on my notes is attached.
| Attachment | Size |
|---|---|
| uc_security_writeup.txt | 3.33 KB |


In any case, I'm glad we've cleaned up a lot since then. That does make me think you should include instructions in the presentation for the correct action to take when you think you've discovered a security vulnerability.
I think the main thing is just checking for other types of validation on data that's printed (i.e. type checking, restrictions on input, etc.). In most of the cases you pointed out, I still think the changes and compliance with general security standards were a very good thing, but they weren't the security holes that they were pointed out to be.


Joined: 06/30/2008