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