When I was a pre-teen I used to test the security of websites because it was a fun challenge. I spent days trying to find exploits in Myspace which allowed me to build cookie grabbers because it was very satisfying to know that I was able to beat experienced engineers. It's kind of like contributing to open source software... it's a way to use your skills in a way that doesn't feel like "work".
Maybe it's because some people are genuinely good people.
That, and anyone in a collaborative field would gladly welcome beneficial tweaks to their product. Karma.
Sure, but the beneficiary is a company, and publicly held at that. You're alluding that the inverse is true, that not sharing exploits with a company who's sole purpose is to accumulate money somehow makes you a bad guy. It doesn't. That's like saying I should code for free in order to be a good guy.