How to find out magento versions
To find out currently running magento version check function getVersionInfo() inside Mage.php file
For example:
eec3e15d43d646fa189c17fed742cd37000
To find out latest security patch applied check app/etc/applied.patches.list