linux - What can I do when an external client try to run a PHP script on my server? -


i have lamp configured server , multiple times apache error log file can see warning messages one:

[thu jul 02 08:54:04.263981 2015] [:error] [pid 12059] [client 5.45.79.44:49144] script '/var/www/html/wp-update.php' not found or unable stat, referer: http://example.org/wp-update.php  

currently have mod_security , inside wordpress wordfence enabled.

what should done in such cases protect , prevent these attacks?

those warning messages can ignored, since generated when apache can't find requested file (404) or permission requested file denied (403).

i see tons of such messages daily in server logs , reason appear is, automated scripts try check server vulnerable/insecure scripts, admin may have forgotten. lately noticed, kind of mass-requests target ssh keys (get /var/www/.ssh/id_rsa - in case server admin misconfigured server).

running mod_security on server tight ruleset (e.g. owasp crs) gives basic protection against various kind of known/unknown attacks.


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -