← Back to blog

WordPress Click2Shell Flaw Enables Forced Theme Installs

A new vulnerability in WordPress core allows attackers to remotely install themes without user interaction. This could lead to further exploitation including potential code execution.

TL;DR

  • WordPress patched a critical flaw called Click2Shell that forces theme installs via malicious links
  • Attack requires only that an admin visits a crafted URL while logged in
  • Vulnerability affects core software and was reported by security firm pwn.ai
  • Theme installation occurs silently from official WordPress.org directory
  • Exploitation chain could potentially lead to remote code execution

WordPress has released emergency patches addressing a serious security flaw dubbed Click2Shell. The vulnerability allows attackers to force the installation of themes from the official WordPress.org directory simply by having an administrator visit a specially crafted URL.

Security researchers from pwn.ai discovered and reported the issue, which represents a significant risk to WordPress sites. While the initial flaw only triggers theme installation, it opens the door to more severe exploitation including potential remote code execution when combined with other techniques.

Technical Details

  • The vulnerability resides in WordPress core software, making all installations potentially vulnerable
  • Attack vector requires minimal user interaction - just visiting a URL while logged in as admin
  • Themes are installed silently from WordPress.org without requiring explicit user approval
  • No authentication bypass is needed; attacker relies on social engineering to get admin to visit link

Security Implications

  • Forced theme installation can serve as entry point for further attacks
  • Combined with other vulnerabilities, could enable remote code execution capabilities
  • Affects all WordPress versions prior to latest patched releases
  • Organizations should immediately update to patched WordPress versions
  • Administrators should exercise caution when clicking external links while logged into WordPress dashboards

Sources

Sources

Security email updates

One digest email when we publish new security articles (TL;DR plus links to read more). Unsubscribe anytime from the message footer. See our Privacy Policy.

WordPress Click2Shell Flaw Enables Forced Theme Installs — Agent Breach Blog | Agent Breach