WordPress
WordPressWPWordPress CMS
WordPress is the most popular CMS. Common attacks include XML-RPC brute force, vulnerable plugin exploitation, and wp-config.php credential disclosure.
Ports
| Port | Protocol | Description |
|---|---|---|
| 80 | tcp | HTTP |
| 443 | tcp | HTTPS |
Fingerprints
| Banner / Probe | Expected Response |
|---|---|
nmap -sV -p <port> <target> | Service banner and version info |
nc -nv <target> <port> | Raw banner grab |
Key Files
| Path | Description |
|---|---|
.env | Environment variables with API keys and DB creds |
config.php | Application configuration file |
wp-config.php | WordPress database credentials |
web.config | IIS configuration file |
.git/config | Git repository configuration |
robots.txt | Disallowed paths (information disclosure) |
sitemap.xml | URL structure enumeration |
Default Credentials
| Username | Password | Context |
|---|---|---|
admin | admin | Common admin credentials |
admin | password | Weak admin password |
Known CVEs
| Identifier | Type | Description |
|---|---|---|
CVE-2021-29447 | RCE | XXE in media library |
Exploitation Primitives
| Technique | Tool / Command | Result |
|---|---|---|
| User Enum | wpscan --url https://<target> --enumerate u | Enumerate WP users |
| XML-RPC Brute | wpscan --url https://<target> --passwords rockyou.txt --usernames admin | Brute force via XML-RPC |
Notes
Always start with full port scan: `nmap -sV -sC -p- <target>`.
Check for default credentials before brute-forcing.
Use service-specific NSE scripts: `nmap --script <service>-* -p <port> <target>`.
Remember to check both IPv4 and IPv6 if applicable.
Seen on
ShodanCensysFOFAZoomEye
References