Cybersecurity news

Jessica Doner

Back to the list

WordPress Comment2Shell Flaw Can Turn Anonymous Comment XSS Into RCE via Admin Session

The Hacker News,

A WordPress flaw let anonymous comments run code on servers when admins viewed them, a bug fixed in a recent update.

Vulnerabilities and patches

Overview

A security flaw in WordPress allowed an anonymous visitor to post a comment that contained a hidden scriptA short program written in an interpreted language to automate tasks in a browser, shell, or application. This script could activate when a logged-in administrator viewed the page, giving the attacker control over the site's serverA computer or program on a network that stores data and responds to requests from client devices. The issue occurred because the software failed to properly sanitize the comment between saving it and displaying it. WordPress released a fix in version 7.1.1 on September 17 to close this gap. The vulnerability was rated 7.1 out of 10 on the CVSS scaleThe standard rating scale used to score how severe a software security flaw is by Patchstack. Site owners using versions 4.7 through 7.1 need to update their software immediately to prevent this attack.

Terms in this story

script
A short program written in an interpreted language to automate tasks in a browser, shell, or application. System administrators write scripts to automate daily maintenance, while attackers often use a script to download malware and disable security settings without dropping a compiled file.
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.
CVSS scale
The standard rating scale used to score how severe a software security flaw is. Security advisories include a CVSS rating from low to critical based on how easy a bug is to exploit and how much damage it allows. Security+ objective 4.3 lists the term
XSS
A web flaw where an attacker sneaks malicious script into a page that other visitors' browsers run. If a forum or comment box shows user text without filtering out script tags, an attacker can use cross-site scripting to steal session cookies from anyone who views the page. Security+ objective 2.3 lists the term
RCE
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.
Session
An active logged-in period of communication between a user or device and a server. Once you log in to a website, the server tracks your session so you can click from page to page without retyping your password on every screen.
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
exploited
A piece of code or technique that uses a software flaw to break into or crash a system. Finding a vulnerability is only the discovery of a weakness, whereas an exploit is the working code or sequence of inputs that triggers that weakness in practice. Security+ objective 2.4 lists the term
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.
web shell
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
web application firewall
A filter placed in front of a website that inspects HTTP traffic and blocks common web attacks. Companies put a web application firewall in front of their web servers to spot and block SQL injection, cross-site scripting, and bot traffic before those requests hit the application code. Security+ objective 3.2 lists the term

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 The Hacker News website. Cite the article, not this page.

Read the full article on The Hacker 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