Top 5 Wordpress Vulnerability Scanners
In the past blog posts we've been writing about OSINT Tools, and also about how to prevent DNS attacks when you are running your own DNS servers, and today we are focusing on Wordpress Security.
When we talk about security, we talk about services, and a lot of those are public websites.
According to the latest W3Techs report as of July 2018, Wordpress is used by 31% of the existing websites. That's a lot.
Latest Sucuri hacked websites report for the past 2017 also revealed WordPress infections rose from 74% in 2016 Q3 to 83% in 2017 — that's not good at all. It is without any doubt one of the most attacked CMS platforms.
Wordpress is easy to use, has a fast learning curve, and can be installed by almost anybody without any programming or technical skills. But, it can become your worst nightmare if you don't know how to keep it secure.
So, how can you test whether your Wordpress installation is secure? Keep reading.
¶Most popular Wordpress Vulnerability Scanners
Website owners often tend to install Wordpress, choose a theme, configure the needed plugins, but completely forget about hardening Wordpress, which include keeping your WP core, themes, and plugins updated, among other things.
Is your Wordpress installation really secure against external attacks? How can you find vulnerabilities and weaknesses in your current Wordpress site?
Let's answer these questions by exploring the finest Wordpress vulnerability scanners in order to find and fix any security flaws in your WordPress website today.
¶1. WPScan
WPScan is one of the best vulnerability scanners for Wordpress and works like a charm from the terminal, where you can run remote vulnerability tests against your WP installations.
Using WPScan allows you to analyze the security of your current WordPress website to:
Detect known vulnerabilities in the WP core, as well as themes and plugins
Detect if any registered user is using weak passwords
Check overall WP security configuration
Run brute force penetration testings
Wordpress Version enumeration (from generator meta tag)
Full server headers scanning
Miscellaneous WordPress checks, such as directory used, theme names, custom dirs, etc.
This WP security tool works by using the wpvulndb.com database to keep the vulnerability database up to date. It also has a very extended documentation for developers to improve the security scanning against Wordpress installations.
¶Installing WPScan
Note: WPScan comes pre-installed on the most popular penetration and security-based Linux distributions like Kali Linux, BackBox Linux, Pentoo, and BlackArch.
Let's solve the required dependencies first for the most popular Linux distributions.
Ubuntu requirements:
Debian requirements:
Fedora requirements:
Let's clone the WPScan GitHub repo, and then install the app in our test box, use the following commands:
Let's see if it was installed ok. Run this command and it should display the WPScan banner and version:
If you see that, then it was installed OK. Now let's see the most popular arguments you can use:
For the full list of arguments, try:
¶Running our first WPScan against Wordpress
Now that you have WPScan installed and working, let's begin with the fun stuff.
First things first, let's update the WPScan vulnerability database:
Now, launch your first scan:
Replace "yourwordpress.com" with the URL of your website.
You should get something like this:
As you see, the scan was able to detect WP usernames, plugin versions, theme name & version, as well as WP core version, and detect if you are running the latest version or not.
Other popular command line arguments you can use are brute force testings using word lists, as you see below:
Brute force on enumerated users using 25 threads - Replace "mylist.lst" with your own word list.
Same example, but only against the "admin" username:
The number of tests you can run with WPScan is really huge, explore the rest reading the online documentation from the README file on Github, or run the --help option.
¶2. Sucuri
Sucuri is one of the leading anti-malware services for Wordpress, they became very popular years ago, and now the service is part of Godaddy.
They offer a free security scan for Wordpress that lets you check your WP installation to detect any kind of issues like malware infections, blacklisting, outdated software or general website errors.
How can you test your site using Sucuri?
Go to the free test page at sitecheck.sucuri.net
Enter your website URL.
Explore the results.
If your site is not vulnerable, you should see something like this output:
¶3. WP SCANS
WPScans, with "S" at the end is not the same as WPScan. These are two different scanners.
WPScans is another great alternative to scan your WP installation against known vulnerabilities.
It allows you to run a full security analysis against your WP core, theme and plugins, checking against their + 6k vulnerabilities database, and reporting all the findings to you right away.
For registered users, they also allow you to set up automatic scans on a daily or monthly basis in order to keep track of the security status of all your WP websites.
They also offer full advanced reports and solutions so you can not only detect, but know how to fix all security issues found on your WP installation.
How can I test it?
Just browse over wpscans.com to have a quick check and know if your WP is vulnerable or not.
Results will appear as you see below if your site is OK:
Or if it detects any issues, as you see below:
Click the "Show/Hide the full list of Wordpress core vulnerabilities found on your website" link to get the full details about the vulnerabilities found on your WP installation. You should see something like this:
¶4. Pentest-Tools WP Scanner
Pentest-Tools Wordpress Vulnerability scan is another great alternative tool to analyze the security of all your WordPress installations.
This utility performs multiple remote tests with WPScan in the background to identify
Wordpress security vulnerabilities and weaknesses, simulating a 3rd party attack against your WP based websites.
In their scan, Pentest-Tools include:
WP core, theme and plugins version scan.
Show vulnerabilities in this areas as well.
Plugin enumeration.
Wordpress users detection.
Download the results in PDF format.
How can I scan my website?
Go to Pentest Tools WP test page.
Buy some credits to run the scan.
Results should be something like this:
As you see, you will find the full details of each vulnerability, how it can affect your site, and the steps in order to fix it. Without any doubts, a pretty cool GUI interface for WPScan, which is the core scanner behind this tool.
¶5. FirstSiteGuide WP Scanner
This scanner is one of the best free online security scanners for Wordpress. It performs a big number of security checks to determine if your WP installation is vulnerable or not.
Main checks performed:
WP version detection.
Check if readme.html install.php upgrade.php are accessible over HTTP.
Check your HTTP headers to find out if your server is showing sensitive information.
Tries to get the full list of Wordpress usernames.
Check if WP admin is served over HTTPS or HTTP.
Check if Indexes HTTP directive is on and you allow browsable directories.
Determine if EditURI link is present in your page headers.
Testing your site is easy:
Go to the test page.
Enter your Wordpress URL.
Analyze the results
As you see, this tool will highlight with red color the weaknesses found on your WP installation. Now all you need to do is to start hardening your Wordpress installation.
¶Conclusion
Using this tools from time to time will help you to detect and take the right steps to prevent WordPress malware infections, SQL injections, Backdoor installations, Drive-by downloads, and Malicious redirections to external sites.
But remember, your website security doesn't end in your application security layer, there are other ways that malicious attackers will find to break into your website and servers.
Start using SecurityTrails to analyze all the data at DNS zone level, domain names, IP address, as well as the public information you share over your WHOIS records: this will prevent intel reconnaissance and avoid future attacks against your network.
And if you have your own app, you can integrate our Security toolkit. Start by opening an API account today!
Stay tuned for more Wordpress security tips and tricks.
Last updated