Skip to main content Skills Marketplace Discover and explore AI skills built by the community.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Copy promptShow prompt details A direct command skips the review prompt. Inspect the source before running it.
npx skills add https://github.com/CyberStrikeus/CyberStrike --skill wstg-conf-05The command stays on one line. Scroll horizontally to inspect it before copying.
Prefer a local copy? Download the files currently available to SkillsMP.
Download Zip Downloading... name wstg-conf-05 description Enumerate Infrastructure and Application Admin Interfaces category configuration owasp_id WSTG-CONF-05 version 1.0.0 author cyberstrike-official tags ["misconfiguration","hardening","server","wstg","conf"] tech_stack ["apache","nginx","iis"] cwe_ids ["CWE-548"] chains_with ["wstg-inpv-05","wstg-inpv-09","wstg-info-06"] prerequisites ["wstg-info-01"] severity_boost {}
wstg-conf-05
Test ID
WSTG-CONF-05
Test Name
Enumerate Infrastructure and Application Admin Interfaces
High-Level Description
Administrative interfaces provide privileged access to application and infrastructure management functions. These interfaces are high-value targets for attackers as they often allow configuration changes, user management, and access to sensitive data. This test identifies hidden or poorly protected admin interfaces through directory enumeration, port scanning, and analysis of application behavior.
What to Check
Admin Interface Types
Discovery Methods
How to Test
Step 1: Common Admin Path Enumeration
#!/bin/bash
TARGET=$1
admin_paths=(
"/admin" "/admin/" "/administrator" "/administrator/"
"/admin.php" "/admin.html" "/admin.asp" "/admin.aspx"
)
path ;
status=$(curl -s -o /dev/null -w )
[ != ];
"/login"
"/login.php"
"/signin"
"/auth"
"/manage"
"/manager"
"/management"
"/console"
"/dashboard"
"/control"
"/controlpanel"
"/panel"
"/cpanel"
"/portal"
"/backend"
"/backoffice"
"/system"
"/sysadmin"
"/superadmin"
"/root"
"/secure"
"/private"
"/internal"
echo
"=== ADMIN INTERFACE ENUMERATION ==="
for
in
"${admin_paths[@]} "
do
"%{http_code}"
"https://$TARGET$path "
if
"$status "
"404"
then
echo
"[+] $path - Status: $status "
fi
done
Step 2: CMS-Specific Admin Paths
wp_paths=("/wp-admin" "/wp-admin/" "/wp-login.php"
"/wp-admin/admin-ajax.php" "/xmlrpc.php" )
joomla_paths=("/administrator" "/administrator/"
"/administrator/index.php" )
drupal_paths=("/admin" "/user/login" "/user" "/admin/content" )
magento_paths=("/admin" "/admin_xxxxx" "/backend" )
for path in "${wp_paths[@]} " "${joomla_paths[@]} " "${drupal_paths[@]} " "${magento_paths[@]} " ; do
status=$(curl -s -o /dev/null -w "%{http_code}" "https://target.com$path " )
echo "$path : $status "
done
Step 3: Server Admin Interfaces
curl -s https://target.com/server-status
curl -s https://target.com/server-info
curl -s https://target.com/nginx_status
curl -s https://target.com:8080/manager/html
curl -s https://target.com:8080/host-manager
curl -s https://target.com/jmx-console
curl -s https://target.com/web-console
curl -s https://target.com/admin-console
curl -s https://target.com/phpmyadmin
curl -s https://target.com/pma
curl -s https://target.com/adminer
curl -s https://target.com/adminer.php
Step 4: Port-Based Admin Discovery
nmap -sV -p 8080,8443,9090,9443,10000,2082,2083,2086,2087,8000,3000,4443,5000 target.com
Step 5: Subdomain Admin Interfaces
subdomains=("admin" "administrator" "manage" "management"
"panel" "console" "dashboard" "backend"
"cms" "control" "portal" "secure"
"internal" "intranet" "staff" "sysadmin" )
for sub in "${subdomains[@]} " ; do
host="${sub} .target.com"
if host "$host " > /dev/null 2>&1; then
echo "[+] Found: $host "
curl -sI "https://$host " | head -5
fi
done
Step 6: Parameter/Cookie Manipulation
curl -s "https://target.com/index.php?admin=true"
curl -s "https://target.com/index.php?debug=1"
curl -s "https://target.com/index.php?test=1"
curl -sI https://target.com | grep -i "set-cookie"
curl -s https://target.com -H "Cookie: admin=1"
curl -s https://target.com -H "Cookie: isAdmin=true"
curl -s https://target.com -H "Cookie: role=admin"
Step 7: Source Code Analysis
curl -s https://target.com | grep -iE 'admin|manage|dashboard|console|control'
curl -s https://target.com | grep -oP 'src="[^"]*\.js"' | while read js; do
curl -s "https://target.com$js " | grep -iE 'admin|/manage|/control|/dashboard'
done
Step 8: Hidden Form Field Analysis
curl -s https://target.com/login | grep -i 'type="hidden"'
Tools
Directory Enumeration Tool Description Usage Gobuster Directory brute-force gobuster dir -u target.com -w admin-wordlist.txtffuf Fast fuzzer ffuf -u target.com/FUZZ -w admin-paths.txtDirb Directory scanner dirb https://target.comZAP Forced Browse OWASP scanner GUI-based
Port Scanning Tool Description Usage Nmap Port scanner nmap -sV -p- target.comMasscan Fast scanner masscan -p1-65535 target.com
Brute Force Tool Description Usage Hydra Password brute-force hydra -L users.txt -P pass.txt target.com http-form-postBurp Intruder Web brute-force GUI-based
Example Commands/Payloads
Comprehensive Admin Scanner #!/bin/bash
TARGET=$1
echo "=== ADMIN INTERFACE SCANNER ==="
echo "Target: $TARGET "
echo ""
echo "[+] Scanning admin paths..."
gobuster dir -u "https://$TARGET " \
-w /usr/share/seclists/Discovery/Web-Content/combined-wordlists/combined-admin-paths.txt \
-t 50 -q -o admin_paths.txt
echo "[+] Scanning admin ports..."
nmap -sV -p 8080,8443,9090,9443,10000,2082,2083,2086,2087 $TARGET -oN admin_ports.txt
echo "[+] Checking admin subdomains..."
for sub in admin manage panel console dashboard; do
host="${sub} .$TARGET "
if dig +short "$host " | grep -q '^[0-9]' ; then
echo " [!] Found subdomain: $host "
fi
done
echo "[+] Checking CMS-specific paths..."
if curl -s "https://$TARGET /wp-login.php" | grep -q "WordPress" ; then
echo " [!] WordPress detected"
echo " Admin: https://$TARGET /wp-admin/"
fi
if curl -s "https://$TARGET /administrator/" | grep -qi "joomla" ; then
echo " [!] Joomla detected"
echo " Admin: https://$TARGET /administrator/"
fi
echo "[+] Scan complete. Review output files."
Nuclei Admin Templates
nuclei -u https://target.com -t http/exposed-panels/
nuclei -u https://target.com -t http/default-logins/
Remediation Guide
1. Access Control # Apache - Restrict admin to IP
<Location /admin>
Require ip 10.0.0.0/8
Require ip 192.168.0.0/16
</Location>
# Nginx - IP restriction
location /admin {
allow 10.0.0.0/8;
allow 192.168.0.0/16;
deny all;
}
2. Non-Standard Paths
Use unpredictable admin URLs
Implement URL obfuscation
Don't rely solely on obscurity
3. Authentication Hardening
Implement MFA for admin access
Use strong password policies
Enable account lockout
Implement session timeout
4. Network Segmentation
Place admin interfaces on internal network
Require VPN for remote admin access
Use dedicated admin networks
5. Monitoring
Log all admin access attempts
Alert on failed login attempts
Monitor for unauthorized access patterns
Risk Assessment
CVSS Score Finding CVSS Severity Admin panel with default creds 9.8 Critical Admin panel accessible externally 7.5 High Admin panel with weak auth 8.8 High Admin subdomain discovered 5.3 Medium
CWE Categories CWE ID Title Description CWE-200 Information Exposure Admin interface disclosure CWE-284 Improper Access Control Insufficient protection CWE-287 Improper Authentication Weak admin authentication
References
Checklist [ ] Common admin paths tested
[ ] CMS-specific paths checked
[ ] Alternative ports scanned
[ ] Admin subdomains enumerated
[ ] Source code analyzed for admin links
[ ] Hidden form fields examined
[ ] Parameter manipulation tested
[ ] Cookie manipulation tested
[ ] Default credentials tested
[ ] Access controls verified
[ ] Findings documented
More from this repository
Related occupations SOC
Based on SOC occupation classification