PHP malicious code – pls help
-
Currently the site I’m working on is hosted on IXwebhosting.com a “US” company whose help desk, etc are located in east europe.
Since august this year (after the Georgia conflict) the site has been subjected to several attacks.
Basically the intruders add a snippet of JS code to HTML files and then add PHP code (see below) in all PHP files.
Moreover all the files have ownership changed to HTTPD:HTTPD (server is Linux).
After the last complaint, I was told by the help desk that basically the problem lies in the version of the program – not true, as I have been attacked on both v 2.0.2 and 2.6+ – and that httpd:httpd appears when the attack has been caused by a php script (sidenote: previous attacks had changed ownership to ROOT:ROOT).
As far as the latter point is concerned I had read that this kind of ownership change is only possible if/when someone has superuser access to the whole machine.
To come to a conclusion: can anybody pls confirm that WordPress’ code could inherently be the “cause” of these problems – especially the ownership change? Personally I don’t see how and why but I appreciate the seniority and expertise of other expert members..Kind regards,
Paul
—
Malicious code inserted in the php files:
https://wordpress.pastebin.ca/1271096
- The topic ‘PHP malicious code – pls help’ is closed to new replies.