How to prevent <meta http-equiv = "refresh"> attacks?
I think that hackers (or script kids) attacked my site using site code leaks. Messages in the database are modified so that they contain this html:
<meta http-equiv="refresh" content="0;url=http://example.com"/>
But I can not rewrite the system now. What are the strategies for preventing this situation in the future?
I'm thinking of porting an admin script to a subdomain that allows access to specific domains. Or use mod_security SecFilterScanPOST and scan the entire send request containing http-equiv etc. Or do you allow only to send requests from my server or all of them?
Thank.
, , , root -
- , , , SQL- , .
/li >PHP, , . FTP telnet, , - , / -.
, .
, , =)
, :
- , , , .
, , . , , , ...
(-, , ) ( ).
- , , - -, .
- -. . , - (.. URL http:// -). - root direct - .
- - .
- , .
(, Wordpress/Joomla). , . . .
, FTP, Telnet, (, phpMyAdmin) .. . , (, IP, , VPN)
- , ( ). , . Telnet → SSH, FTP → SFTP/FTP, HTTP/HTTPS.
- . screnario, . ...