New Malicious Injected Code: Injection_head and Injection_tail

We have logged few websites infected with a new injected javascript code that seems to target mainly the websites powered with WordPress and Joomla. Below there is a screenshot of the malicious script:


As we can see from the image above, the injected code starts with:


And it ends with: