It should be noted that it appears to be a persistent hack that has been around for some time. The defacement was quite a lengthy animated video. The attacker had at least access as the PHP user, which of course has database access.
There's a video of the defacement here — http://youtu.be/LKrOHAfMdxI
A 50BTC bounty has been offered by Theymos (author of the advisory), awarded to anyone who can find the source of the compromise. It's near impossible for an outsider though as despite it running SMF, there's been extensive modifications which may have been the source of the vulnerability.