There are security holes in those versions.
It is recommended you upgrade or AT least apply the sec fix for your versions found
here
Make sure ALSO that you are using ALL the files that came with the phpBB port. Overwriting your existing ones. You WILL have loggin issues if you don't use the mainfile.php and Your Account module that came with the phpBB port.
mikem