您需要了解的WordPress漏洞以及如何修复它们

by Joel S. Syder

乔尔·赛德(Joel S.Syder)

您需要了解的WordPress漏洞以及如何修复它们 (WordPress vulnerabilities you need to know about — and how to fix them)

WordPress is an incredibly useful and versatile platform for all kinds of blogging. It’s become very popular. Unfortunately, that popularity has brought with it quite a few vulnerabilities that can be exploited by hackers. It’s important that you know about these weaknesses and take measures to prevent their exploitation. Here are six WordPress vulnerabilities you need to know about.

WordPress是适用于各种博客的非常有用且用途广泛的平台。 它变得非常流行。 不幸的是,这种流行带来了很多可以被黑客利用的漏洞。 了解这些弱点并采取措施防止其被利用很重要。 这是您需要了解的六个WordPress漏洞。

WordPress登录 (WordPress login)

“The easiest way for someone to access your WordPress is by attacking your login. These kinds of brute force attacks are the most common way of having your WordPress compromised. “This method works by guessing your login and password over and over again by using certain software,” advises Martha Goss, WP programmer at WriteMyX and BritStudent.

“某人访问您的WordPress的最简单方法是攻击您的登录名。 这些暴力攻击是使WordPress遭到破坏的最常见方法。 “该方法通过使用某些软件来一遍又一遍地猜测您的登录名和密码来起作用,” WriteMyX和BritStudent的 WP程序员Martha Goss建议。

WordPress doesn’t limit the number of login attempts, so brute force attacks can be very effective. Your best defense against this vulnerability is installing a plugin that will limit the number of allowed login attempts, such as iThemes Security Pro. You can also use a password manager to generate random passwords that are much less likely to be guessed. Stay away from passwords that seem obvious — don’t use anything like 123456, password, or anything related to you.

WordPress不会限制登录尝试的次数,因此蛮力攻击可能非常有效。 最好的防御方法是安装一个插件,该插件将限制允许的登录尝试次数,例如iThemes Security Pro。 您还可以使用密码管理器来生成随机密码,这些密码很少被猜中。 远离看似显而易见的密码-请勿使用123456,密码或与您相关的任何东西。

For example, no pet names, children names, partner names, street names and so on since all of this can be used against you. If you think that mixing them together may prove to be a better security measure but still fairly easy to remember, think again. Your social media profiles are an easy way into your psychology, and anyone could find these passwords among your posts.

例如,没有宠物名称,孩子名称,伴侣名称,街道名称等,因为所有这些都可以对您不利。 如果您认为将它们混合在一起可能是一种更好的安全措施,但仍然很容易记住,请再考虑一下。 您的社交媒体资料是您进入心理的一种简便方法,任何人都可以在您的帖子中找到这些密码。

It’s best to choose something unrelated to you — and make sure that you use a good combination of letters, upper case letters, and numbers as well as symbols. You can never be too careful or underestimate your enemy.

最好选择与您无关的内容,并确保您使用字母,大写字母,数字以及符号的良好组合。 您永远不能太小心或低估敌人。

Source: https://www.wordfence.com/blog/2017/12/aggressive-brute-force-wordpress-attack/

资料来源: https : //www.wordfence.com/blog/2017/12/aggressive-brute-force-wordpress-attack/

默认管理员用户帐户 (Default admin user account)

Hackers can gain access to the back end of your WordPress account by exploiting your default admin user account. Try deleting your admin account and accessing your site from a common account that has admin privileges. People can gain access by injecting SQL commands using a cookie value parameter. To prevent this kind of compromise, try updating your security software to the most current IPS.

黑客可以通过利用默认的管理员用户帐户来访问WordPress帐户的后端。 尝试删除您的管理员帐户,并从具有管理员权限的普通帐户访问您的网站。 人们可以通过使用cookie值参数注入SQL命令来获得访问权限。 为避免这种妥协,请尝试将安全软件更新为最新的IPS。

Jibu Pro can also be accessed by cross-site scripting because it doesn’t clear out user-supplied input properly. To guard against this vulnerability, strengthen the permissions on your site. You can even go as far as to hide your admin login so well that no one can find it. The best way to do that — and the simplest one by far — is naming it something else. Admin is quite obvious, and hackers will be searching for that. But if you name it something entirely different — Cat, SpaceMonkey or choose from a wide variety of funny and clever possibilities — the hackers will have a hard time finding it. By default, they will have a much harder time injecting an SQL command — they don’t know where to inject it.

也可以通过跨站点脚本访问Jibu Pro,因为它不能正确清除用户提供的输入。 为防止此漏洞,请增强您网站上的权限。 您甚至可以隐藏自己的管理员登录信息,以至于没人能找到。 做到这一点的最佳方法(也是迄今为止最简单的方法)是将其命名。 管理员是很明显的,黑客将在搜索它。 但是,如果您将其命名为完全不同的名称(例如Cat,SpaceMonkey或从各种各样有趣而机灵的可能性中进行选择),则黑客将很难找到它。 默认情况下,他们将很难注入SQL命令-他们不知道在哪里注入它。

Source: https://www.acunetix.com/blog/articles/exploiting-sql-injection-example/

资料来源: https : //www.acunetix.com/blog/articles/exploiting-sql-injection-example/

URL黑客 (URL hacking)

“WordPress uses PHP to execute all its server-side scripts, and that, unfortunately, makes it susceptible to URL attacks. It is all too easy for hackers to sneak into WordPress operations and create problems for you,” warns Dorothy Cox, tech writer at 1Day2Write. Because of the nature of its database, there is ample opportunity for hackers to steal your sensitive information. To avoid these breaches, host your WordPress on Apache Web Server, which uses .htaccess files and will protect you from URL hacking.

“ WordPress使用PHP执行所有服务器端脚本,但是不幸的是,这使其容易受到URL攻击。 1Day2Write的技术作家多萝西·考克斯(Dorothy Cox)警告说,黑客很容易潜入WordPress操作并为您制造问题。 由于其数据库的性质,黑客有很多机会窃取您的敏感信息。 为了避免这些破坏,请将您的WordPress托管在使用.htaccess文件的Apache Web服务器上,并保护您免受URL黑客攻击。

Make sure you uninstall and delete all of the unnecessary plugins that you have on your website. This limits the access points for the hackers — themes could also be your enemy, especially if you have a ton of them that you aren’t using. PHP is all too easy to exploit, and you should protect your website the best you can. As a bonus, those themes and extra plugins may be slowing your loading time down so you would be improving your SEO while protecting your website.

确保卸载并删除网站上所有不必要的插件。 这限制了黑客的访问点-主题也可能是您的敌人,特别是如果您有很多不使用的主题。 PHP太容易利用了,您应该尽最大努力保护您的网站。 另外,这些主题和额外的插件可能会减慢加载时间,因此您可以在保护网站的同时改善SEO。

Source: https://blog.websecurify.com/2017/02/hacking-wordpress-4-7-0-1.html

来源: https : //blog.websecurify.com/2017/02/hacking-wordpress-4-7-0-1.html

过时的软件 (Out of date software)

Any time you’re running your WordPress using outdated software, you run an increased risk of being compromised. It’s easy to fall into the trap of thinking that updates just improve minor bugs and annoyances, but they also are important for the security patches they include.

每当您使用过时的软件运行WordPress时,遭受威胁的风险都会增加。 很容易陷入思维陷阱,即更新只会改善较小的错误和烦恼,但它们对于所包含的安全补丁程序也很重要。

Keeping your software updated is a very easy thing to do, and it will protect you from many hacking threats. If you’re worried, you will forget to update your software, simply install automatic updates with plugins such as iThemes’ WordPress version management. These kinds of features both save you time and ensure you don’t miss a security patch and have your site compromised.

保持软件更新是一件非常容易的事,它将保护您免受许多黑客威胁的侵害。 如果您担心,您将忘记更新软件,只需使用插件即可安装自动更新,例如iThemes的WordPress版本管理。 这类功能既可以节省您的时间,又可以确保您不会错过安全补丁并危及您的网站。

Hackers will be looking for something that’s easy to crack. By updating, you are probably installing new security patches which can prevent any hacker from entering. Also, make sure that you don’t install anything from sources that are not safe. You could be inviting the hackers right in.

黑客将寻找易于破解的东西。 通过更新,您可能正在安装新的安全补丁程序,可以阻止任何黑客进入。 另外,请确保不要从不安全的来源安装任何东西。 您可能会邀请黑客进入。

Source: https://www.kimiweb.com/wordpress-help/updating-wordpress-and-plugins/

来源: https : //www.kimiweb.com/wordpress-help/updating-wordpress-and-plugins/

数据库表的默认前缀 (Default prefix for database tables)

There are many tables in the WordPress database, and in many installs, they are named with a default prefix beginning with “wp.” That may not sound like a big deal, but it gives hackers a bit of an advantage because it is one less thing for them to decipher.

WordPress数据库中有很多表,在许多安装中,它们都以默认前缀“ wp ”命名。 这听起来似乎没什么大不了的,但是它却给了黑客一些优势,因为对他们来说解密是一件轻而易举的事。

You can make things a lot more difficult for them by simply changing these default prefixes. Will it stop every hacker? No, but it will stop a lot, and it’s just one more useful tool in defending your WordPress account. This is a simple process that you can easily do on your own — hackers are always looking for an easy entry point first, and if you eliminate those, they might give up.

只需更改这些默认前缀,就可以使事情变得更加困难。 它会阻止每个黑客吗? 不,但它会停止很多工作,它只是保护您的WordPress帐户的另一种有用工具。 这是一个简单的过程,您可以轻松地自己完成-黑客总是始终在寻找一个简单的入口点,如果您消除这些入口,他们可能会放弃。

Source: https://www.cloudways.com/blog/change-wordpress-database-table-prefix-manually/

资料来源: https : //www.cloudways.com/blog/change-wordpress-database-table-prefix-manually/

PHP漏洞 (PHP vulnerabilities)

Hackers can gain access to your account by exploiting your PHP code, and it’s more common than you would think. Limit your risk by uninstalling and then deleting any plugins you don’t need. Each one is a potential access point for people looking to compromise your information. Try and avoid using plugins that aren’t being updated anymore; if it’s been more than six months since an update, it’s time to consider just deleting it.

黑客可以通过利用您PHP代码来访问您的帐户,这种情况比您想象的要普遍得多。 通过卸载然后删除不需要的插件来降低风险。 对于希望破坏您的信息的人们,每个人都是一个潜在的访问点。 尝试避免使用不再更新的插件; 如果距更新已超过六个月,那么该考虑将其删除了。

Source: https://www.cloudways.com/blog/change-wordpress-database-table-prefix-manually/

资料来源: https : //www.cloudways.com/blog/change-wordpress-database-table-prefix-manually/

切换到更好的托管 (Switch to better hosting)

When you are just starting out, the cheapest hosting seems like the best idea. But, cheap hosting also comes with a lack of security features that could be harmful. Make sure that you have the best and the safest hosting in order to protect yourself and your customers.

当您刚开始时,最便宜的托管似乎是最好的主意。 但是,廉价主机还缺少一些可能有害的安全功能。 确保您拥有最好和最安全的托管服务,以保护自己和客户。

Source: https://www.webhostingsecretrevealed.net/blog/web-hosting-guides/switching-web-host/

来源: https : //www.webhostingsecretrevealed.net/blog/web-hosting-guides/switching-web-host/

结论 (Conclusion)

Keeping your site secure is one of the most important responsibilities when you’re running a WordPress account. Limit the number of tries for your login. Change the default prefixes for your tables. Download the plugins recommended in this article and see how they work for you. WordPress is a great resource for blogging, but just remember that there are plenty of people looking around the site for accounts vulnerable to hacking. Make sure yours isn’t one of them.

当您运行WordPress帐户时,确保网站安全是最重要的职责之一。 限制尝试登录的次数。 更改表的默认前缀。 下载本文推荐的插件,并查看它们如何为您工作。 WordPress是写博客的好资源,但请记住,很多人在网站上寻找容易受到黑客攻击的帐户。 确保您不是其中之一。

Joel Syder is WP coach at Originwritings.com and Australia2write.com. He enjoys helping people to build websites of their dreams as well as creating articles about things that excite him for Academicbrits.com, tutoring service.

Joel Syder是Originwritings.com和Australia2write.com的 WP教练。 他喜欢帮助人们建立自己梦想中的网站,并为Academicbrits.com (补习服务)撰写有关使他兴奋的事情的文章。

翻译自: https://www.freecodecamp.org/news/wordpress-vulnerabilities-you-need-to-know-about-and-how-to-fix-them-497a2d8b2c3e/

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/392268.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

Maven基础。

---恢复内容开始--- Maven: 1、概念。 * maven 是一个项目管理工具。 * maven的作用。 1、jar包。依赖管理。将jar包放在jar包仓库(pom.xml),不需要每个项目都添加jar包。 2、测试。 3、项目发布。 2、使用。 * 下载解压即可。 * 环境变量配置…

Dinosaur Run - Dinosaur world Games

转载于:https://www.cnblogs.com/hotmanapp/p/7092669.html

机器学习实际应用_机器学习的实际好处是什么?

机器学习实际应用Some of my previous introductory posts to machine learning and data science were a bit technical. However, my purpose of this post is to explain some of the practical use-cases of ML solely from a non-technical savvy layman’s perspective w…

Javascript的setTimeOut()和setInterval()的定时器用法

Javascript用来处理延时和定时任务的setTimeOut和setInterval函数应用非常广泛,它们都用来处理延时和定时任务,比如打开网页一段时间后弹出一个登录框,页面每隔一段时间发送异步请求获取最新数据等等。但它们的应用是有区别的。 setTimeout()…

php随机生成车牌号,生成汽车牌照

用户随机50选1。好的车牌用户选不到。我目前的做法是这样的。所有车牌入库。别人选了状态就修改为1。下面是入库程序,想跟大家讨论一下,有没有更好的方式。use Illuminate\Database\Seeder;class LicensePlatesTableSeeder extends Seeder{public functi…

Go_ go mod 命令解决墙的问题

简介 由于众所周知的原因,在下载一些库的时候会下载不了,比如 golang.org/x/... 相关的库。为此,网上出现了很多解决方案。 从 Go1.11 开始,Go 引入了 module,对包进行管理,通过 go mod 命令来进行相关操作…

leetcode 1319. 连通网络的操作次数(并查集)

用以太网线缆将 n 台计算机连接成一个网络,计算机的编号从 0 到 n-1。线缆用 connections 表示,其中 connections[i] [a, b] 连接了计算机 a 和 b。 网络中的任何一台计算机都可以通过网络直接或者间接访问同一个网络中其他任意一台计算机。 给你这个…

MySQL中choose标签的用法

先给大家来个SQL语句&#xff1a; choose (when,otherwize) ,相当于java 语言中的 switch ,与 jstl 中 的 choose 很类似。 <select id"getMemberInfo" resultType"java.util.Map" parameterType"java.util.Map" > SELECT …

php hsetnx,HSETNX命令_视频讲解_用法示例-redis编程词典-php中文网

set英 [set] 美 [sɛt]vt.设置;放置&#xff0c;安置;使处于某种状况;摆放餐具vi.落山;出发;凝结n.集合;一套&#xff0c;一副;布景;电视机adj.固定的;位于…的;顽固的;安排好的第三人称单数&#xff1a; sets 复数&#xff1a; sets 现在分词&#xff1a; setting 过去式&am…

用导函数的图像判断原函数的单调性

前言 典例剖析 例1(给定\(f(x)\)的图像&#xff0c;确定\(f(x)\)的单调性&#xff0c;最简单层次) 题目暂略。 例2(用图像确定\(f(x)\)的正负&#xff0c;确定\(f(x)\)的单调性&#xff0c;2017聊城模拟) 已知函数\(yxf(x)\)的图像如图所示(其中\(f(x)\)是函数\(f(x)\)的导函数…

朴素贝叶斯 半朴素贝叶斯_使用朴素贝叶斯和N-Gram的Twitter情绪分析

朴素贝叶斯 半朴素贝叶斯In this article, we’ll show you how to classify a tweet into either positive or negative, using two famous machine learning algorithms: Naive Bayes and N-Gram.在本文中&#xff0c;我们将向您展示如何使用两种著名的机器学习算法&#xff…

python3:面向对象(多态和继承、方法重载及模块)

1、多态 同一个方法在不同的类中最终呈现出不同的效果&#xff0c;即为多态。 class Triangle:def __init__(self,width,height):self.width widthself.height heightdef getArea(self):areaself.width* self.height / 2return areaclass Square:def __init__(self,size):sel…

蠕变断裂 ansys_如何避免范围蠕变,以及其他软件设计课程的辛苦学习方法

蠕变断裂 ansysby Dror Berel由Dror Berel 如何避免范围蠕变&#xff0c;以及其他软件设计课程的辛苦学习方法 (How to avoid scope creep, and other software design lessons learned the hard way) 从数据科学的角度来看。 (From a data-science perspective.) You’ve got…

leetcode 674. 最长连续递增序列

给定一个未经排序的整数数组&#xff0c;找到最长且 连续递增的子序列&#xff0c;并返回该序列的长度。 连续递增的子序列 可以由两个下标 l 和 r&#xff08;l < r&#xff09;确定&#xff0c;如果对于每个 l < i < r&#xff0c;都有 nums[i] < nums[i 1] &a…

深入单例模式 java,深入单例模式四

Java代码 privatestaticClass getClass(String classname)throwsClassNotFoundException {ClassLoader classLoader Thread.currentThread().getContextClassLoader();if(classLoader null)classLoader Singleton.class.getClassLoader();return(classLoader.loadClass(class…

linux下配置SS5(SOCK5)代理服务

SOCK5代理服务器 官网: http://ss5.sourceforge.net/ yum -y install gcc gcc-c automake make pam-devel openldap-devel cyrus-sasl-devel 一、安装 # tar xvf ss5-3.8.9-5.tar.gz # cd ss5-3.8.9-5 # ./configure && make && make install 二、修改配置文…

刘备和诸葛亮闹翻:无意说出蜀国灭亡的根源?

导读&#xff1a;身为管理者&#xff0c;一件事情&#xff0c;自己做是满分&#xff0c;别人做是八十分&#xff0c;宁可让人去做八十分&#xff0c;自己也得跳出来看全局。紧抓大权不放&#xff0c;要么自己干到死&#xff0c;要么是败于战略&#xff01;&#xff01; 诸葛亮去…

mysql 时间推移_随着时间的推移可视化COVID-19新案例

mysql 时间推移This heat map shows the progression of the COVID-19 pandemic in the United States over time. The map is read from left to right, and color coded to show the relative numbers of new cases by state, adjusted for population.该热图显示了美国COVID…

leetcode 959. 由斜杠划分区域(并查集)

在由 1 x 1 方格组成的 N x N 网格 grid 中&#xff0c;每个 1 x 1 方块由 /、\ 或空格构成。这些字符会将方块划分为一些共边的区域。 &#xff08;请注意&#xff0c;反斜杠字符是转义的&#xff0c;因此 \ 用 “\” 表示。&#xff09;。 返回区域的数目。 示例 1&#x…

rcu宽限期_如何处理宽限期错误:静默失败不是一种选择

rcu宽限期by Rina Artstain通过丽娜阿斯特斯坦 I’ve never really had much of an opinion about error handling. This may come as a shock to people who know me as quite opinionated (in a good way!), but yeah. If I was coming into an existing code base I just d…