This worm only infects phpBB boards, and exploits a bug only present in phpBB.
The worm works on the server level, and will try to overwrite any file present on the server with itself. If your UBB.threads board was hit, it was because there's a phpBB somewhere else on the server.
I repeat, it is NOT possible for UBB.threads to be the vector for this worm.
One thing you SHOULD be worried about is old PHP versions. Like everyone else, we use the serialize()/unserialize() functions in UBB.threads. A malicious user could pass in data to UBB.threads to exploit a PHP security problem in these functions. There is nothing we can do to filter this data effectively. We urge all server owners to upgrade to PHP 4.3.10 immediately.
The phpBB worm and the serialize/unserialize issue are not connected.