WordPress Click2Shell flaw lets hackers execute PHP on the server
A new WordPress flaw lets attackers install a theme and run code on the server, a problem fixed in a recent update.
Overview
A security flaw in WordPress Core version 7.1.0 and earlier allows attackers to execute code on a serverA computer or program on a network that stores data and responds to requests from client devices without needing an account. The vulnerabilityA flaw in software or hardware that lets an attacker do something the maker did not intend, named Click2Shell, was fixed in the release of WordPress version 7.1.1. It works by tricking a logged-in administrator into visiting a crafted link that installs a theme and runs malicious PHPA widely used server-side scripting language that builds dynamic web pages before sending them to browsers code. This issue matters because it can lead to the theft of databaseAn organized digital store of structured records, such as customer accounts, orders, or messages, queried by software credentialsThe login details, such as a username and password or key, that prove who an account belongs to and the creation of rogue admin accounts. The background idea is that a cross-site request forgeryA web attack where a page tricks your browser into sending an unwanted request to another site attack can force a browser to perform an action the user did not intend. Any organization using an unpatched version of WordPress is affected by this risk.
Terms in this story
- 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.
- 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
- PHP
- A widely used server-side scripting language that builds dynamic web pages before sending them to browsers. Because millions of websites and content management systems run on PHP, a newly discovered vulnerability in the PHP engine can put a huge portion of the web at risk.
- database
- An organized digital store of structured records, such as customer accounts, orders, or messages, queried by software. Behind almost every website and mobile app sits a database, and attackers target misconfigured or unpatched databases to copy millions of user records at once.
- credentials
- The login details, such as a username and password or key, that prove who an account belongs to. Many breaches begin when attackers steal an employee's login credentials through a fake website and sign in to the company network as if they belonged there. Security+ objective 4.6 lists the term
- cross-site request forgery
- A web attack where a page tricks your browser into sending an unwanted request to another site. If a banking or account settings page lacks protective tokens, a cross-site request forgery attack on a separate tab can silently submit a password change using your active session cookie.
- 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.
- exploit
- 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
- authenticated
- A person or account that has already signed in with valid credentials. Some vulnerabilities cannot be triggered by a stranger on the internet and instead require an authenticated user who already holds at least a basic account on the system.
- 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.
- penetration testing
- An authorized simulated cyberattack hired by an organization to find weak spots before real criminals do. During penetration testing, security specialists have permission to probe a company's websites, cloud accounts, and internal network and then deliver a report on every path they broke through. Security+ objective 4.3 lists the term
- URL
- The full web address used to locate a specific page, file, or resource on the internet. Security filters inspect every URL in an incoming message to see whether the domain name is a newly registered lookalike or points to a known credential-harvesting server. Security+ objective 4.5 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 BleepingComputer website. Cite the article, not this page.
Read the full article on BleepingComputer (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.
- Kind of story: Vulnerability and patch
"...a new WordPress cross-site request forgery (CSRF) vulnerability dubbed 'Click2Shell..." Found by reading the article; these exact words are in it - Security+ 2.3 Explain various types of vulnerabilities.
"WordPress Click2Shell flaw lets hackers execute PHP on the server..." Found in the headline - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"Technical details and a proof-of-concept exploit have been published for a new WordPress..." Found in the opening sentences - CYBR 101 week 10: the web, cookies, phishing, incident response and logs
"WordPress Click2Shell flaw lets hackers execute PHP on..." Found in the headline - CYBR 101 week 2: the CIA triad, threat actors, risk and CVEs
"......a new WordPress cross-site request forgery (CSRF) vulnerability dubbed 'Click2Shell' that affects the platform's Core..." Found in the opening sentences - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of web applications and their common attack vectors.
"WordPress cross-site request forgery (CSRF) vulnerability..." Found by reading the article; these exact words are in it
How a story is connected to the course, and every objective, week and job role
Same story at other outlets
- Click2Shell WordPress Flaw Lets Hackers Execute PHP Code and Take Over Websites
- Click2Shell WordPress Flaw Lets Attackers Gain RCE With a Single Malicious Link
- New WordPress Click2Shell Flaw Forces Theme Installs, Can Chain to Code Execution