There are other variables other then the UBB version like server setup and so on. You can not just blame the entire problem in 7.2.2.
Agreed, hence my prior comments
Do you have any other scripts installed on the server? It's more than likely they got hacked and he just defaced the more popular areas of your site (to take suspicion away from how he got in so he can do it again).
Other possibilities are that he guessed an admin password and logged in and edited a template...