Hmm. There's definitely things to be learned picking up things that other people won't touch, but I would also qualify it more:
"Successful people choose their battles"
You can spend your entire career fixing other peoples' crappy bugs because nobody else can be bothered. That's not really going to make you successful, it's just going to make you a good bug fixer.
Choose problems that other people don't want to touch because they're hard or challenging, or because they're a core, valuable part of something.
That's what's brought me succeess ;) (and headaches)