There's no such Linux Distro called "Linux 2007", period (and, why are us using one that OLD?). And while booting your Linux, it will list the Distro and version Number, or,display a splash screen, showing Ubuntu, Linux Mint, Fedora Core, or, the actual name of your specific Distro.
And, Firefox updates itself to use the Distro's Embedded Adobe-compatible "flash player", that will always be updated whenever Linux automatically updates it's KERNEL. That is, unless you turned Automatic Updates, for one or the other, OFF.
So, please tell us the name of your Distro, and, then we can give you more precise instructions.
TIP: Get the latest version of your Linux Distro, and replace your 5 year one, and Flash and/or Firefox will likely be fixed!