Cybersecurity news

Jessica Doner

Back to the list

Detecting PHP2Shell remote code execution with Wazuh

Wazuh,

Wazuh explains how to detect remote code execution vulnerabilities in PHP that let attackers run arbitrary code on web applications.

Vulnerabilities and patches

Overview

PHP2Shell refers to two critical memory corruptionA class of software bugs where a program accidentally overwrites or misreads its own working memory vulnerabilitiesA flaw in software or hardware that lets an attacker do something the maker did not intend in PHPA widely used server-side scripting language that builds dynamic web pages before sending them to browsers, a software used to build websites. These flaws, tracked as CVEThe public tracking code assigned to a specific known security flaw in software or hardware-2026-109618 and CVE-2026-109619, allow unauthenticated attackersDone without logging in or holding a valid account on the target system to execute arbitrary code by sending crafted HTTP requestsA message a browser or app sends to a web server to fetch or submit data. The vulnerabilities were disclosed in October 2026 and have reportedly been exploited in the wild since that date. Each vulnerability has a CVSS 4.0The standard rating scale used to score how severe a software security flaw is base score of 9.2, indicating a high level of severity. The issues affect the PHP engine itself, meaning various deployment configurationsA text file that stores settings, network addresses, and options for how a program or server runs may be vulnerable. Organizations using PHP versions prior to 8.2.35, 8.3.36, 8.4.27, or 8.5.12 are currently exposed to these attacks.

Terms in this story

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.
memory corruption
A class of software bugs where a program accidentally overwrites or misreads its own working memory. Buffer overflows and use-after-free bugs are forms of memory corruption that can crash an application or let an attacker redirect the processor to run malicious code. 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 attackers
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.
HTTP requests
A message a browser or app sends to a web server to fetch or submit data. Every link click, form submission, and API call travels as an HTTP request, and web attacks work by packing malicious headers or parameters inside that request.
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
CVSS 4.0
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
configurations
A text file that stores settings, network addresses, and options for how a program or server runs. Attackers who gain read access to a server look for its configuration file first because it often contains database passwords, API keys, and internal server paths.
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.
privileges
The level of authority an account or process has to change settings, read files, or run commands. Ordinary user accounts run with limited privileges so a single mistake cannot break the operating system, whereas administrator privileges allow installing drivers and viewing all files.
exploitation
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
XDR
A security platform that combines telemetry from laptops, cloud accounts, email, and networks to detect attacks across layers. While EDR watches only individual computers, XDR correlates an email phishing link, a laptop process launch, and a cloud login into one timeline for analysts. 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 Wazuh website. Cite the article, not this page.

Read the full article on Wazuh (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

Related