• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » How To Use Nikto & WPScan WordPress Vulnerability Scanner

By Abhishek Ghosh May 21, 2017 12:01 am Updated on May 21, 2017

How To Use Nikto & WPScan WordPress Vulnerability Scanner

Advertisement

Previously, we talked about how to get started to use Nmap NSE scripts against own WordPress installation for checking vulnerability. There are other two important scanners, one is Nikto and the other is WPScan. WPScan is purely for WordPress whereas Nikto gives information. In this guide we will talk around how to use Nikto & WPScan WordPress vulnerability scanner. We are using Ubuntu server. For the other distributions, you need to look at their official resources.

 

How To Use WPScan WordPress Vulnerability Scanner

 

WPScan limited to identifying which plugins & themes are installed, enumerate user IDS and brute force passwords. First install the dependencies, also you need to update cURL version 7.21 or newer :

Vim
1
sudo apt-get install libcurl4-openssl-dev libxml2 libxml2-dev libxslt1-dev ruby-dev build-essential libgmp-dev zlib1g-dev

We can install with RVM, this is unsafe method, we are showing as root but theoretically you probably should install as a user other than root :

Advertisement

---

Vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
cd ~
curl -sSL https://rvm.io/mpapis.asc | gpg --import -
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
\curl -sSL https://get.rvm.io | bash -s stable --rails
source /usr/local/rvm/scripts/rvm
echo "source /usr/local/rvm/scripts/rvm" >> ~/.bashrc
source ~/.bashrc
rvm install 2.4.0
rvm use 2.4.0 --default
echo "gem: --no-ri --no-rdoc" > ~/.gemrc
git clone https://github.com/wpscanteam/wpscan.git
cd wpscan
gem install bundler
bundle install --without test

There should not be any problem with Ubuntu 16.04 LTS with the above commands. We tested it. Now test with your own URL, we used ours on our machine :

Vim
1
ruby wpscan.rb --url https://thecustomizewindows.com

You’ll get this prompt, download database and continue :

WordPress Security Test with Nmap NSE Scripts

I got this report :

Vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[+] URL: https://thecustomizewindows.com/
[+] Started: Sun May 21 05:05:51 2017
 
[+] robots.txt available under: 'https://thecustomizewindows.com/robots.txt'
[+] Interesting header: ALTERNATE-PROTOCOL: 443:npn-http/2
[+] Interesting header: ALTERNATE-PROTOCOL: 443:npn-spdy/3
[+] Interesting header: EXPECT-CT: enforce; max-age=3600
[+] Interesting header: LINK: </wp-includes/js/jquery/jquery.js>; rel=preload; as=script
[+] Interesting header: LINK: </wp-includes/js/jquery/jquery-migrate.min.js>; rel=preload; as=script
[+] Interesting header: PUBLIC-KEY-PINS: pin-sha256="snqzW9Bwdb/++vjcA36+kbP/qaVMmnB9ckuI3qAkihQ="; pin-sha256="BJKSF/6L2QXz4xK6MVj2RTiyPlFzQx3NcpuxnuqdABk="; max-age=5184000; includeSubDomains
[+] Interesting header: REFERRER-POLICY: origin
[+] Interesting header: SERVER: nginx
[+] Interesting header: STRICT-TRANSPORT-SECURITY: max-age=31536000; includeSubDomains; preload
[+] Interesting header: X-CONTENT-TYPE-OPTIONS: nosniff
[+] Interesting header: X-FRAME-OPTIONS: SAMEORIGIN
[+] Interesting header: X-XSS-PROTECTION: 1; mode=block
[+] This site has 'Must Use Plugins' (http://codex.wordpress.org/Must_Use_Plugins)
 
[i] WordPress version can not be detected
 
[+] Enumerating plugins from passive detection ...
| 2 plugins found:
 
[+] Name: contact-form-plugin - v4.0.0
|  Last updated: 2017-04-14T09:45:00.000Z
|  Location: https://thecustomizewindows.com/wp-content/plugins/contact-form-plugin/
|  Readme: https://thecustomizewindows.com/wp-content/plugins/contact-form-plugin/readme.txt
[!] The version is out of date, the latest version is 4.0.6
 
[!] Title: Contact Form by BestWebSoft <= 4.0.1 - Stored Cross-Site Scripting (XSS)
    Reference: https://wpvulndb.com/vulnerabilities/8749
    Reference: https://sumofpwn.nl/advisory/2016/stored_cross_site_scripting_vulnerability_in_contact_form_wordpress_plugin.html
    Reference: http://seclists.org/fulldisclosure/2017/Feb/100
[i] Fixed in: 4.0.2
 
[!] Title: Multiple BestWebSoft Plugins - Authenticated Reflected GET Cross-Site Scripting (XSS)
    Reference: https://wpvulndb.com/vulnerabilities/8796
    Reference: http://www.defensecode.com/advisories/DC-2017-02-014_50_WordPress_plugins_by_BestWebSoft_Advisory.pdf
    Reference: http://lists.webappsec.org/pipermail/websecurity_lists.webappsec.org/2017-April/010860.html
[i] Fixed in: 4.0.6
 
[+] Name: crayon-syntax-highlighter - v2.8.4
|  Latest version: 2.8.4 (up to date)
|  Last updated: 2016-05-10T11:37:00.000Z
|  Location: https://thecustomizewindows.com/wp-content/plugins/crayon-syntax-highlighter/
|  Readme: https://thecustomizewindows.com/wp-content/plugins/crayon-syntax-highlighter/readme.txt
 
[+] Finished: Sun May 21 05:06:01 2017
[+] Requests Done: 91
[+] Memory used: 53.383 MB
[+] Elapsed time: 00:00:09

You can see the shown vulnerabilities and fixes of two detected plugins. To get the help menu run :

Vim
1
ruby wpscan.rb --help

You’ll get more examples on GitHub :

Vim
1
https://github.com/wpscanteam/wpscan

 

How To Use Nikto To Scan WordPress Vulnerability

 

First install the requirements :

Vim
1
apt-get install wget unzip libnet-ssleay-perl libwhisker2-perl openssl

Then run these steps :

Vim
1
2
3
4
5
6
cd ~
git clone https://github.com/sullo/nikto.git
cd nikto
ls
cd program
chmod +x nikto.pl

In order to test your domain, you’ll run command in this way :

Vim
1
perl nikto.pl -h thecustomizewindows.com

Rest help you’ll get here :

Vim
1
https://github.com/sullo/nikto

Tagged With nikto wordpress , best nikto command github , nikto -host use , nikto v wpscan , nikto vs wpscan , nikto wordpress scan , plugins not working nikto , wordpress vulnerability scanner , wp vulndb 8796

This Article Has Been Shared 778 Times!

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to How To Use Nikto & WPScan WordPress Vulnerability Scanner

  • Logjam by NSA Threatens the Security of HTTPS

    Logjam, which allows man-in-the-middle attacker to downgrade the vulnerable TLS connections, apparently created by NSA Threatens the Security of HTTPS.

  • OCSP Stapling Nginx : Working Guide to Enable

    Many Users Complain of Not Working OCSP Stapling in Nginx or Facing Chain Error. Here is Working Step by Step Guide on OCSP Stapling Nginx.

  • Update letsencrypt to certbot (Ubuntu letsencrypt 16.04 Error Fix)

    Here Are Steps To Update letsencrypt to certbot For the Users Who Used Former Before letsencrypt Became certbot. It is Mandatory For Ubuntu.

  • Fix : pam_unix(sushi:auth): authentication failure SSH Flood

    If You Are Under Brute Force Attack. Here is How to Quickly Fix pam_unix(sushi:auth): authentication failure SSH Flood to Terminate Attack.

  • How To Generate Let’s Encrypt ECC SSL (ECDSA) Certificate

    Few Costly Paid SSL Have Support For ECC. Let’s Encrypt Supports For Free. Here is How To Generate Let’s Encrypt ECC SSL (ECDSA) Certificate.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Exploring the Benefits and Advantages of Microsoft’s Operating System March 22, 2023
  • Web Design Cookbook: Accessibility March 21, 2023
  • Online Dating: How to Find Your Match March 20, 2023
  • Web Design Cookbook: Logo March 19, 2023
  • How Starlink Internet Works March 17, 2023

About This Article

Cite this article as: Abhishek Ghosh, "How To Use Nikto & WPScan WordPress Vulnerability Scanner," in The Customize Windows, May 21, 2017, March 22, 2023, https://thecustomizewindows.com/2017/05/how-to-use-nikto-wpscan-wordpress-vulnerability-scanner/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT