• 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
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

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • How To Install Metasploit on Ubuntu 16.04 LTS To Test Security

    Here Is How To Install Metasploit on Ubuntu 16.04 LTS To Test Security of Servers. Metasploit framework needs Ruby, Postgre SQL, Java etc.

  • WordPress & PHP : Different AdSense Units on Mobile Devices

    Here is How To Serve Different AdSense Units on Mobile Devices on WordPress With PHP. WordPress Has Function Which Can Be Used In Free Way.

  • Install RVM on Rackspace Cloud Server (Ubuntu, PVHVM)

    Here is a step by step guide for the beginners on how to install RVM on Rackspace Cloud Server running Ubuntu 14.04, PVHVM version for Rails.

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

  • PowerAmp Settings for Higher Sound QualityOctober 4, 2023
  • Affordable Earphone/IEM for Audiophiles: HiFiMan RE-400 WaterlineOctober 2, 2023
  • What is Hardware Security Module (HSM)September 30, 2023
  • Transducer Technologies of HeadphonesSeptember 28, 2023
  • What is Analog-to-Digital Converter (ADC)September 27, 2023
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