You'll probably need to clean the entire installation. Once you get hit by this kind of malware, it finds a way into most your posts and into other parts of the OS if it has the file write privileges. I caught a similar malware last December, it infected PHP itself, major headache.