Earlier quoted context omitted.
First, selling unofficial/unreleased parts with an Apple logo on them and jailbreaking are completely different. You can sell all the cases and backplates you want, but you can't start putting someone else's trademarks on them. Second, Apple hasn't sued any jailbreakers.
I'd also be willing to bet Apple isn't very susceptible to SQL injection nor do I suspect they store passwords in plaintext.
Looking at the URLs that iTunes and friends use behind the scenes it doesn't seem like the apple web-stuff was built by competent programmers either.
Try a few random clicks on https://iforgot.apple.com and look at the url-bar and firebug to get an idea.