Vulnerability Analysis
Learn how to use WPScan, the black-box WordPress vulnerability scanner: install it in Kali Linux, add a free API token, and scan a WordPress site to enumerate plugins, themes and users and match them against known vulnerabilities.
sudo apt install wpscan
wpscan --url <target_wordpress_url>
To learn how to use WPScan, follow a beginner loop on a WordPress site you own or have written permission to test: confirm installation with wpscan --version, update the vulnerability database with wpscan --update, add a free API token from wpscan.com, and run a first scan against your lab WordPress site. Then enumerate vulnerable plugins, themes and users with --enumerate vp,vt,u and read the results before acting. WPScan v3.8.x is a Ruby gem and is pre-installed in Kali Linux.
For a worked first-scan example, scan your lab WordPress site at http://127.0.0.1:8080 with wpscan --url http://127.0.0.1:8080 --api-token YOUR_TOKEN --enumerate vp,vt,u --random-user-agent. An illustrative result identifies WordPress 6.5.2, three plugins of which one has a known CVE, and two usernames, admin and editor. This shows the shape of a real result, not guaranteed findings: check the version evidence and CVE references before updating components or planning any explicitly authorized login tests.
Not every WPScan finding needs the same response: read the CVE reference, check whether the vulnerable component is active and reachable, and fix critical and high-severity issues first. A vulnerable plugin that is installed but inactive is still worth removing, while a low-severity information disclosure can wait for the next maintenance window. WPScan finds known vulnerabilities; it cannot prove a site is secure, so pair the scan with updates, strong credentials and a firewall.
WPScan is a black box WordPress vulnerability scanner that enumerates active plugins, themes, user accounts, and security vulnerabilities. It is the most widely used WordPress security assessment tool.
The tool checks for known vulnerabilities in WordPress core, plugins, and themes by comparing detected versions against the WPVulnDB vulnerability database. It also supports user enumeration and password brute forcing.
WPScan is essential for WordPress security assessments, providing detailed information about installed components and their security status. It requires an API token for full vulnerability database access.
| Command | Purpose |
|---|---|
wpscan --url http://127.0.0.1:8080 | Run a baseline lab assessment. |
wpscan --url http://127.0.0.1:8080 --enumerate vp,vt,u | Enumerate vulnerable plugins, themes, and users. |
wpscan --url http://127.0.0.1:8080 --detection-mode passive --throttle 500 | Use passive detection mode with a 500 ms delay. |
wpscan --url http://127.0.0.1:8080 --format json -o wpscan.json | Save machine-readable results. |
wpscan --url http://example.comBasic scan - Check basic components and structural versionswpscan --url http://example.com --enumerate vp,vt,uDeep enumeration - Enumerate vulnerable plugins, vulnerable themes, and usernameswpscan --url http://example.com --api-token YOUR_TOKENVulnerability DB check - Pull known exploitation CVEs utilizing a WPScan API tokenwpscan --url http://192.168.1.1/wordpressBasic scan - Check WordPress for vulnerabilitieswpscan --url http://192.168.1.1 --enumerate uEnumerate users - Find WordPress usernameswpscan --url http://192.168.1.1 --enumerate pEnumerate plugins - List installed pluginswpscan --url http://192.168.1.1 -U users.txt -P passwords.txtPassword attack - Brute force WordPress loginswpscan --url http://192.168.1.1 --api-token YOUR_TOKENVulnerability DB - Check against WPScan databasewpscan --url https://example.comBasic WordPress scanwpscan --url https://example.com -e vpEnumerate vulnerable pluginswpscan --url https://example.com -e vtEnumerate vulnerable themeswpscan --url https://example.com -e uEnumerate usernameswpscan --url https://example.com -e apEnumerate all pluginswpscan --url https://example.com --detection-mode aggressiveAggressive detectionwpscan --url https://example.com --api-token TOKENWPVulnDB API integrationwpscan --url https://example.com -o results.json --format jsonJSON outputwpscan --url https://example.com -o results.txt --format cli-no-colorPlain text outputwpscan --url https://example.com --proxy http://127.0.0.1:8080Through Burp proxywpscan --url https://example.com --cookie 'session=abc'With authentication cookiewpscan --url https://example.com --passwords passwords.txt --usernames adminBrute-force loginwpscan --url https://example.com -e ttEnumerate timthumbswpscan --url https://example.com --ruaRandom User-Agentwpscan --url https://example.com --disable-tls-checksDisable TLS verificationwpscan --url https://example.com --throttle 500500ms between requestswpscan --url https://example.com --forceForce updatesScan WordPress installations for known vulnerabilities.
Discover installed plugins and their versions.
Enumerate WordPress user accounts.
Test WordPress login credentials against wordlists.
Scan behind logins with --cookie or --http-auth on sites you own.
Run WPScan from cron or CI with JSON output for recurring WordPress audits.
Check installed themes for known CVEs before a WordPress update.
Vulnerability Analysis
Learn how to use Nikto, an open-source web server scanner written in Perl and pre-installed on Kali Linux, to audit servers you own or have written permission to test. Its 6700+ checks for potentially dangerous files and programs, plus tests for outdated software and misconfigurations, highlight issues that need verification.
Password Attacks
Hydra is a parallelized login cracker that supports numerous protocols including FTP, HTTP, HTTPS, SMB, SSH, and many more. It performs rapid dictionary attacks against login pages and services to test password strength.
Vulnerability Analysis
Nuclei is used to send requests across targets based on templates, allowing zero false positives and providing rapid scanning over large infrastructure footprints.
Web Application
Wapiti allows you to audit the security of your websites or web applications. It performs black-box scanning by crawling pages and injecting payloads to discover vulnerabilities like SQL injection, XSS, and file inclusions.
Web Application
Burp Suite is the industry-standard web application security testing platform from PortSwigger, free as Community Edition on Kali Linux. Learn how to use Burp Suite: install it, route your browser through its proxy, intercept your first request, and test it with Repeater and Intruder.
Web Application
XSSer (Cross Site Scripting Exploiter) is an automatic framework to detect, exploit, and report XSS vulnerabilities in web applications. It contains features to bypass several filters and various options for automated payload generation.
How to use WPScan in Kali Linux: install it, save your free API token, run your first WordPress vulnerability scan — cheat sheet, 15 FAQs.
Web Security · IntermediateLearn what XSS is, its types, and how to prevent XSS with a worked DVWA example, context-aware defenses, testing tips, and a cheat sheet.
Web Security · IntermediateA comprehensive guide to web application security covering the OWASP Top 10 vulnerabilities, defense in depth strategies, and secure development lifecycle practices.
Tools · BeginnerNikto commands cheat sheet: install Nikto, run your first web server scan, read the results, tune scans and save reports — with a worked example.
Read this illustrative lab scan from top to bottom; actual output varies with detection mode and API data. The banner identifies WPScan v3.8.x, not the WordPress version. A line such as 'WordPress version 6.5.2 identified' is the core fingerprint: review the detection evidence, confirm the version and check core vulnerability references before planning an update. In 'Interesting Findings', headers such as Server reveal server technology, robots.txt can disclose paths, and a public readme.html exposes installation information. Review each reported URL only within scope, reduce unnecessary disclosures and harden headers; these observations alone do not prove an exploitable flaw. Next, inspect each plugin section for its slug, location, detected version and confidence. In the sample, litespeed-cache 6.3 has 'Unauthenticated Privilege Escalation', CVE-2024-28000, rated critical at CVSS 9.8 in the advisory, with a reference such as https://nvd.nist.gov/vuln/detail/CVE-2024-28000. Follow the references to verify the affected range and prerequisites; this issue was fixed in 6.4, so upgrade to a current supported release rather than treating 6.4 as today's recommended version. The other sample plugin sections, akismet 5.3.2 and hello-dolly 1.7.2, show detected versions but no vulnerability match in this illustrative report; confirm their versions and check for updates rather than assuming they are secure. Read each theme section the same way: twentytwentyfour 1.1 has no match in this sample, but still needs version verification and an update check. If a theme CVE appears, record its title, severity, affected version range, fixed version and references before remediation. WPScan may not print severity for every issue, so consult the linked advisory. The user enumeration block lists admin and editor with detection evidence: record validated usernames, review whether author archives or other public endpoints expose them, and use strong passwords and MFA. Discovering a username does not show that the account is compromised. At the end, 'No vulnerabilities found' means no known matches were returned for the detected components and available API data, not that the site is secure: check token validity, quota, scan coverage and potentially missed plugins. If the summary instead lists findings, prioritize confirmed critical and high-severity issues, update or remove affected components, save JSON evidence with --format json -o wpscan.json and rescan after fixes. Any login testing must be explicitly covered by written permission.
This tool is designed for authorized security testing, educational purposes, and legitimate network administration only. Unauthorized access to computer systems is illegal.