WordPress Patches Click2Shell Flaw That Could Enable Remote Code Execution

Summary
WordPress patched Click2Shell, a flaw that lets an unauthenticated attacker use a crafted URL and a logged-in administrator’s visit to install a theme and potentially execute PHP code on the site.
Key points
- Click2Shell has no CVE identifier in the article.
- A crafted theme-preview URL can exploit differences in how WordPress processes the URL value in its API and in the administrator’s browser.
- The attack requires no attacker WordPress account, but does require a logged-in user to visit the crafted URL.
- The flaw could install an attacker-selected theme from the official catalog without the administrator’s knowledge.
- The researcher identified more than 40 third-party themes whose inactive PHP code could be abused to enable code execution under the WordPress server account.
- WordPress fixed Click2Shell and 10 other vulnerabilities in version 7.1.1, with fixes also issued for older versions back to WordPress 4.7.
Article Details
- Vulnerability Types
- URL-based theme-preview flaw enabling installation of attacker-selected themes and potential remote code execution through vulnerable inactive themes
- Exploitation Status
- unknown
- Exploit Availability
- public_poc
- Patch Status
- available
