Updated: October 9, 2020 by Agnes Talalaev
In this article, we will go over how to install reCAPTCHA for WordPress, what is CAPTCHA in general, what types of CAPTCHAS there are, and what is the difference between the options seen on the web.
What are the biggest challenges for freelancers and digital agencies in 2020? Read the Website Security Survey Report 2020 to find out.
You may have seen some “tests” around the web when trying to make an account or log in to somewhere, but before finishing the registration you have to guess a text written in cursive crossed out with lines and curves.
Or needed to complete a task by choosing a specific element out of pictures like the crosswalks example below.
These “tests” are scattered around the web when trying to make an account, post a comment, reply or log in to an account to differentiate whether the user is human or not.
And these things are called CAPTCHAS.
CAPTCHA stands for:
COMPLETELY
AUTOMATED
PUBLIC
TURING TEST
to tell COMPUTERS
and HUMANS APART
What a great acronym, right.
CAPTCHA history goes back to the late 1990s when a search engine Altavista tried to prevent bots adding malicious or spam URLs into the Altavistas database.
They wanted to make sure spam links won’t end up in the search engine and though about a task that both computers and humans are good at – optical character recognition.
Bringing the optical character recognition to the next level, they made the characters hard to recognize for computers, but still recognizable for humans.
In addition to recognizing text, there are other types of captchas too, let’s take a look.
There are different types of CAPTCHAs that you can use on your website. It is important to understand the specific need for your website, so you can make an informed decision based on the problem you are solving.
Here are some of the various types of CAPTCHAs you may have come into contact with. Of course, there are always pros and cons.
A word problem captcha is when a user has to answer a simple question. It may be for example a word or a few words that a user has to rewrite.
In some cases, there can be some further instructions to only write one word, the last word or a word in a different color.
The word solving captcha has a downfall since bots are becoming more and more intelligent and may be able to solve the problem as a human would. So it might not be the most secure option out there.
Another one is a math problem, which can be a simple 2+2 that needs an answer. These problems are usually harder for bots to guess so it is a bit more secure one than a word problem captcha.
And lastly, the audio captcha, which is as you can see above added mostly to the word and math problems as well to help out those who are visually impaired.
ReCAPTCHA is a free service from Google that has currently three versions: V1, V2, and V3. The ReCaptcha V1 has many forms like word solving, audio, and math problems as mentioned above.
The reCAPTCHA V2 has been made very easy for a user. The task to the user is to click on a box indicating, “I am not a robot”.
The reCAPTCHA V2 also tracks the finger (on the phone) or mouse movement and figures if the box is checked directly in the middle. If it’s directly in the middle, it is an indication that it might be a robot.
Here is a reCAPTCHA V2 example:
Other types of CAPTCHAs worth mentioning are:
There have been fixes on the Google reCAPTCHA. For example in May 2018, Google pushed a fix for a security flaw that allowed attackers to circumvent the reCAPTCHA bot protection system.
ReCAPTCHA is not foolproof and in some cases, it can be bypassed. However, according to security researcher Andres Riancho, a vulnerability existed which allowed the protections to be circumvented every time.
– ZDNet, May 2018
As Riancho’s findings were based on an exploit that could bypass reCAPTCHA mechanisms every time, the researcher asked Google to re-read the vulnerability report.
By 31 January, Google had requested additional information, and only 24 hours later confirmed the bug.
“Google decided to fix this issue in their REST API, and I believe it was a wise move, their fix is simple:
If the HTTP request to /recaptcha/api/siteverify contains two parameters with the same name, then [it] return[s] an error. Fixing it this way they are protecting the applications which are vulnerable to the HTTP Parameter Pollution and the reCAPTCHA bypass, without requiring them to apply any patches.”
– ZDNet, May 2018
You can read more about that issue from Riancho’s blog or ZDNet.
As we have mentioned before in our articles, nothing can be truly 100% secure, there always might be a way to bypass, even if it’s made by very experienced developers. Security is something that needs constant work, and therefore we should never stop improving.
Firstly, if you don’t have an account on WebARX, you can register here and add the WebARX WordPress firewall to your site. Learn how to do it from here.
It’s easy and won’t take you more than 3 minutes. In addition to reCAPTCHA WordPress, you will have access to many other important security features like managed web application firewall. Also other features like 2-factor authentication, firewall logs & analytics, software vulnerability monitoring, brute-force/XML-RPC protection, and more here.
With WebARX you will have to option to enable reCAPTCHA for:
You can choose from invisible and normal reCAPTCHA V2. ReCAPTCHA V3 for WebARX users will be available in 2020.
You will see different options where to enable reCAPTCHA for WordPress. Check the boxes you want and choose your preferred version.
After that, you will need a site and secret key for the reCAPTCHA feature.
You have to enter your own reCAPTCHA keys in order to use the reCAPTCHA feature, here is how.
After you have copied the site key and secret key and have your preferred options set click “Save settings” in the WebARX plugin.
CAPTCHAs play an important role in keeping the internet spam-free and making everyone’s experience a little bit better.
Always keep your site secure and add the important security features to your site. WordPress security is mostly affected by plugins and themes. In fact, 98% of WordPress vulnerabilities are related to plugins that extend the functionality and features of a website or a blog.
Therefore, keep the number of plugins on your WordPress site low, make sure you trust the source and developer and keep your software updated.
Learn more about reCAPTCHA V1 and V2: https://support.google.com/recaptcha/?hl=en
WebARX support article on how to get the site and secret key for the reCAPTCHA feature: https://support.webarxsecurity.com/en/articles/2165240-how-to-get-the-site-and-secret-key-for-the-recaptcha-feature
Adding reCAPTCHA is very easy, you need to do these three steps:
1) Log into your WordPress Dashboard.
2) On your left side menu click Settings -> Security (for that you will need WebARX).
3) Stay on the Hardening tab and scroll a bit down to reCAPTCHA.
You have to enter your own reCAPTCHA keys in order to use the reCAPTCHA feature, here is how.
1) Login to your Google account at https://www.google.com
2) Go here: https://www.google.com/recaptcha/admin
3) Scroll down to the “Register a new site” section.
4) In the label, enter your site name.
5) Check “reCAPTCHA v2” OR “Invisible reCAPTCHA” depending on which reCAPTCHA version you want to use.
6) In the domains field, enter your domain(s).
7) Check the checkbox to agree to the terms.
8) Click on “Register“.
You will now see the “Site key” and “Secret key” which you will need to copy into WebARX plugin.
As WebARX has mentioned before, nothing can be truly 100% secure, there always might be a way to bypass, even if it’s made by very experienced developers. Security is something that needs constant work, and therefore we should never stop improving.
CAPTCHA stands for:
COMPLETELY
AUTOMATED
PUBLIC
TURING TEST
to tell COMPUTERS
and HUMANS APART
There are different types of CAPTCHAS to choose from. ReCaptcha is a service provided by Google. We recommend using Google ReCaptcha. In this article, we will go over how to install reCAPTCHA for WordPress, what is CAPTCHA in general, what types of CAPTCHAS there are, and what is the difference between the options seen on the web.
You should have an option to enable reCAPTCHA for:
– post comments;
– login form;
– registration form;
– password reset form on your website.
The most common reCAPTCHAS used are invisible and normal reCAPTCHA V2. Learn more here.
Protect your websites from malicious traffic - set-up in under 3 minutes.
WebARX is compatible with the following platforms: