Cybersecurity news

Jessica Doner

Back to the list

WordPress Comment2Shell Vulnerability Lets Hackers Take Over Sites Through Comments

Cyber Security News,

A flaw in WordPress lets hackers run commands on servers by posting comments, a problem fixed in the latest update.

Vulnerabilities and patches

Overview

A high-severity vulnerabilityA flaw in software or hardware that lets an attacker do something the maker did not intend in WordPress allows attackers to take over websites by submitting a malicious comment. The flaw, tracked as CVEThe public tracking code assigned to a specific known security flaw in software or hardware-2026-93485, exists in the wpautop() formatting function and lets unauthenticatedDone without logging in or holding a valid account on the target system users execute commands on the serverA computer or program on a network that stores data and responds to requests from client devices. When a crafted comment is displayed, the system incorrectly processes the text, causing the browser to run attacker-controlled JavaScriptThe programming language that web browsers run to make web pages interactive, and that also runs on servers. If a logged-in administrator views the post, the script can upload a webshellA small malicious script uploaded to a web server that lets an attacker run commands through a browser to gain full control of the site. WordPress fixed the issue in version 7.1.1 and advised site owners to update immediately. The vulnerability affects WordPress releases from 4.7 through 7.1.0, with branch-specific patchedA software update released by a developer to fix a bug or close a security flaw builds extending back to 4.7.36.

Terms in this story

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
CVE
The public tracking code assigned to a specific known security flaw in software or hardware. Every cataloged software flaw gets a unique CVE label so security teams, vendors, and news reports can talk about the exact same bug without confusion. Security+ objective 2.3 lists the term
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.
server
A computer or program on a network that stores data and responds to requests from client devices. Online stores, email systems, and multiplayer games all run on servers in data centers or the cloud, making unpatched servers a primary target for intruders.
JavaScript
The programming language that web browsers run to make web pages interactive, and that also runs on servers. Because every browser runs JavaScript automatically when loading a page, attackers use malicious JavaScript in cross-site scripting, fake browser updates, and compromised software packages.
webshell
A small malicious script uploaded to a web server that lets an attacker run commands through a browser. After exploiting a flaw in a website, attackers often drop a hidden web shell in a public folder so they can upload tools and browse the server's files at will. Security+ objective 2.4 lists the term
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.
patched
A software update released by a developer to fix a bug or close a security flaw. When a software flaw is discovered, the vendor ships a patch so administrators and ordinary users can update their systems before attackers exploit the bug. Security+ objective 4.3 lists the term
Hackers
A person who explores and manipulates computer systems, either as a criminal intruder or a security researcher. In news headlines, the word hacker usually means an unauthorized intruder, though the security community also uses it for researchers who find and fix flaws.
command 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.
proof-of-concept
A working sample of code or steps that shows a reported security flaw can really be triggered. When researchers publish a proof-of-concept for a new bug, defenders can test their own systems, but criminals also watch for that code and adapt it for real attacks.
stored cross-site scripting
A cross-site scripting flaw where malicious script is saved on the server and served to later visitors. In stored cross-site scripting, an attacker posts a booby-trapped comment on a forum or profile page so the script runs automatically in every reader's browser.

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