Forum Replies Created

Viewing 3 replies - 91 through 93 (of 93 total)
  • Thread Starter RadiantFreedom

    (@radiantfreedom)

    @dion: Thanks for the Incode leak fix, I’ve added that and am rerunning the scan to see if that fixed it.

    @leejosepho: Thanks for the suggestion, I’ll take a look at the BulletProof Security and see what it’s all about. If it’s a plugin, one reservation I have about relying too heavily on those is that I recently had to deal with a website where at least one of the security plugins got infected with the Linux/Roopre virus and that virus probably infected my computer too.

    Thread Starter RadiantFreedom

    (@radiantfreedom)

    Thanks for suggesting that plugin, it looks like something I can use for my client’s websites to keep them more secure.

    Thanks to all of you for your help, I’ll leave you with this code I add to the .htaccess file for my websites to keep sql injections, iframes attacks and direct manipulation of WP files out:

    <ifModule mod_headers.c>
    Header set X-XSS-Protection "1; mode=block"
    Header always append X-Frame-Options SAMEORIGIN
    Header set X-Content-Type-Options: "nosniff”
    </ifModule>
    
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_METHOD} ^(HEAD|TRACE|DELETE|TRACK) [NC]
    RewriteRule ^(.*)$ - [F,L]
    RewriteCond %{QUERY_STRING} \.\.\/ [NC,OR]
    RewriteCond %{QUERY_STRING} boot\.ini [NC,OR]
    RewriteCond %{QUERY_STRING} tag\= [NC,OR]
    RewriteCond %{QUERY_STRING} ftp\:  [NC,OR]
    RewriteCond %{QUERY_STRING} http\:  [NC,OR]
    RewriteCond %{QUERY_STRING} https\:  [NC,OR]
    RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
    RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|%3D) [NC,OR]
    RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [NC,OR]
    RewriteCond %{QUERY_STRING} ^.*(\[|\]|\(|\)|<|>|ê|"|;|\?|\*|=$).* [NC,OR]
    RewriteCond %{QUERY_STRING} ^.*("|'|<|>|\|{||).* [NC,OR]
    RewriteCond %{QUERY_STRING} ^.*(%24&x).* [NC,OR]
    RewriteCond %{QUERY_STRING} ^.*(%0|%A|%B|%C|%D|%E|%F|127\.0).* [NC,OR]
    RewriteCond %{QUERY_STRING} ^.*(globals|encode|localhost|loopback).* [NC,OR]
    RewriteCond %{QUERY_STRING} ^.*(request|select|insert|union|declare).* [NC]
    RewriteCond %{HTTP_COOKIE} !^.*wordpress_logged_in_.*$
    RewriteRule ^(.*)$ - [F,L]
    </IfModule>
    
    Options All -Indexes
    <files .htaccess>
    Order allow,deny
    Deny from all
    </files>
    <files readme.html>
    Order allow,deny
    Deny from all
    </files>
    <files license.txt>
    Order allow,deny
    Deny from all
    </files>
    <files install.php>
    Order allow,deny
    Deny from all
    </files>
    <files wp-config.php>
    Order allow,deny
    Deny from all
    </files>
    <files error_log>
    Order allow,deny
    Deny from all
    </files>
    <files fantastico_fileslist.txt>
    Order allow,deny
    Deny from all
    </files>
    <files fantversion.php>
    Order allow,deny
    Deny from all
    </files>
    Thread Starter RadiantFreedom

    (@radiantfreedom)

    Interesting… I submitted a support ticket with the host and they said they were all CMS issues and took no action, just passed the thing back to me.

Viewing 3 replies - 91 through 93 (of 93 total)