I've been building Drupal sites for 6 years, and I've never had a single one get hacked, even after I stopped updating them. It's far more likely that FTP with a weak password was the attack vector.
Disclaimer: I work at a hosting company, and this is my personal experience with hacked websites.