Cybersecurity news

Jessica Doner

Back to the list

WP2Shell Attack Lets Hackers Create WordPress Admin Accounts and Install Web Shells Without Login

Cyber Security News,

A security flaw lets attackers create admin accounts and install web shells on WordPress sites without logging in.

Passwords and sign-inVulnerabilities and patches

Overview

A security flaw called WP2Shell allows attackers to bypass the login process on WordPress websites by combining two specific vulnerabilitiesA flaw in software or hardware that lets an attacker do something the maker did not intend. This issue affects the REST APIA common style of web API that uses standard HTTP requests to read, create, update, or delete data batch controller and a posts endpointAny user device or server, such as a laptop, phone, or workstation, connected to a network that contains a SQL injectionPutting database commands into a web form or request so the server runs them by mistake weakness. By chaining these flaws, an unauthenticatedDone without logging in or holding a valid account on the target system user can create an administrator accountThe highest permission level on a computer or network, allowing full control over software and settings and install a malicious pluginAn add-on software module that extends a website, browser, or application with extra features that acts as a web shellThe command-line interpreter program that accepts text commands and runs them on an operating system. The vulnerability was disclosed in July 2026, and analysts noted that it enables remote code executionA flaw that lets an attacker run their own code on someone else's computer over a network without prior access. This means a public site running an affected release is exposed before the owner sees a suspicious account or plugin. The attack chain allows an attacker to stage a ZIP archive, unpack PHP files, and move a plugin directory into the wp-content/plugins folder to maintain control.

Terms in this story

shell
The command-line interpreter program that accepts text commands and runs them on an operating system. When an attacker exploits a web server and pops a shell, they can type operating system commands directly as if they were sitting at the server's keyboard.
REST API
A common style of web API that uses standard HTTP requests to read, create, update, or delete data. Cloud platforms and web apps expose a REST API for mobile clients and partner services, and broken permission checks on those endpoints are a frequent cause of data leaks.
API
A structured interface that lets one software program request data or actions from another program. Mobile apps, websites, and cloud services talk to backend servers through an API, and a poorly protected API can let attackers pull customer records in bulk. Security+ objective 4.7 lists the term
endpoint
Any user device or server, such as a laptop, phone, or workstation, connected to a network. Security teams install monitoring tools on every company endpoint because a single employee laptop infected at home can carry malware onto the corporate network.
SQL injection
Putting database commands into a web form or request so the server runs them by mistake. When a website builds a database query directly from user input without checking it, an attacker can use SQL injection to dump customer tables or log in as an administrator. Security+ objective 2.3 lists the term
SQL
The standard query language used to read, add, update, and delete records in relational databases. Almost every banking, retail, and hospital system stores its records in a database controlled by SQL, which is why SQL injection bugs that alter those queries are so dangerous.
unauthenticated
Done without logging in or holding a valid account on the target system. An unauthenticated flaw is especially urgent in the news because any stranger on the internet can trigger it without needing a username or password first.
administrator account
The highest permission level on a computer or network, allowing full control over software and settings. Attackers try to steal accounts with administrative privileges because those accounts can turn off antivirus tools, read any file, and install malware across the network.
plugin
An add-on software module that extends a website, browser, or application with extra features. Small businesses add dozens of third-party plugins to their websites for contact forms or shopping carts, and an unpatched plugin flaw is a common way attackers take over a site.
vulnerability
A flaw in software or hardware that lets an attacker do something the maker did not intend. Security advisories report a vulnerability when researchers or attackers find a coding mistake in an app or server that allows someone to break in or crash it. Security+ objective 2.3 lists the term
remote code execution
A flaw that lets an attacker run their own code on someone else's computer over a network. This is one of the most dangerous bug classes in the news because an attacker across the internet can send a crafted request and take control of a server.
code execution
A flaw that lets an attacker run any commands or program they choose on the target machine. When an advisory warns that a bug allows arbitrary code execution, an attacker who triggers the flaw can install malware, read files, or take over the program's account.

This page is a short description made for this site. The article itself, with its author's name and its own link, is on the Cyber Security News website. Cite the article, not this page.

Read the full article on Cyber Security News (opens in a new tab)

Course connections

Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.

How a story is connected to the course, and every objective, week and job role

Same story at other outlets

Related