{"id":388,"date":"2019-12-03T14:32:11","date_gmt":"2019-12-03T14:32:11","guid":{"rendered":"https:\/\/increasec.com\/?p=388"},"modified":"2021-02-28T23:52:09","modified_gmt":"2021-03-01T04:52:09","slug":"wordpress-security","status":"publish","type":"post","link":"https:\/\/increasec.com\/?p=388","title":{"rendered":"WordPress Security"},"content":{"rendered":"\n<p>WordPress is a popular target for hackers because it has a large install base.  Plug-ins make it flexable but there is no guarantee that code writen by 3rd parties is secure.<\/p>\n\n\n\n<p>Had an incident where a WordPress site was undergoing a directory traversal attack.  The site had WordFence security plug-in installed and got some decent alerts.  Snippet of Log below.<\/p>\n\n\n\n<p> November 22, 2019 11:48am&nbsp; 178.213.191.110 (Ukraine)&nbsp;&nbsp;&nbsp;&nbsp; Blocked for  Directory Traversal &#8211; wp-config.php in query string:  file=..\/wp-config.php<br> November 22, 2019 11:48am&nbsp; 178.213.191.110 (Ukraine)&nbsp;&nbsp;&nbsp;&nbsp; Blocked for  Directory Traversal &#8211; wp-config.php in query string:  wpabspath=..\/..\/..\/..\/..\/wp-config.php<\/p>\n\n\n\n<p>WordFence also includes a 2fa plugin.  It is easy to setup as you can simply scan a QR code with Google authenticator.  It also allows whitelisting the static IP address of your business so your users don&#8217;t see anything different.  Allows prompting once per 30 days per IP address.  (note if your laptop moves between IP addresses this won&#8217;t really last 30 days)  I like this to prevent password guessing without needing to turn on Captcha, which WordFense supports but is annoying.<\/p>\n\n\n\n<p>Recommendations:   Turn on auto-updating where it is available, unfortunately not all plug-ins support this.   Update plug-ins that don&#8217;t on a weekly schedule.  Make a calandar reminder so you don&#8217;t forget.  Enable Two Factor Authentication on ALL of your Cloud based applications.  Use strong password, ideally random 31 characters.  Keep track of them in a password manager like LastPass for teams.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress is a popular target for hackers because it has a large install base. Plug-ins make it flexable but there is no guarantee that code writen by 3rd parties is&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[4,63],"class_list":["post-388","post","type-post","status-publish","format-standard","hentry","category-uncategorised","tag-security","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/posts\/388","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/increasec.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=388"}],"version-history":[{"count":1,"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/posts\/388\/revisions"}],"predecessor-version":[{"id":389,"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/posts\/388\/revisions\/389"}],"wp:attachment":[{"href":"https:\/\/increasec.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=388"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/increasec.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=388"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/increasec.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=388"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}