Cybersecurity news

Jessica Doner

Back to the list

New phpAfterShell Attack Bypasses PHP2Shell Fix to Enable Remote Code Execution

Cyber Security News,

A new attack allows unauthenticated remote code execution on vulnerable servers, even if they have the October patches for PHP2Shell.

Vulnerabilities and patches

Overview

Researchers at depthfirst disclosed a new vulnerabilityA flaw in software or hardware that lets an attacker do something the maker did not intend called phpAfterShell that allows attackers to run code on vulnerable serversA computer or program on a network that stores data and responds to requests from client devices without logging in. This flaw affects systems that use PHPA widely used server-side scripting language that builds dynamic web pages before sending them to browsers's default file-based sessionAn active logged-in period of communication between a user or device and a server handler to remember user details between requests. The issue arises when an interrupted session update leaves a file with mixed data, which PHP can later accept and use to rebuild objects. This process, known as deserializationTurning stored or transmitted data bytes back into a live object inside a running program, was not fully addressed by the October patches for the earlier PHP2Shell vulnerability. The new attack combines this behavior with a memory corruptionA class of software bugs where a program accidentally overwrites or misreads its own working memory flaw to achieve remote code executionA flaw that lets an attacker run any commands or program they choose on the target machine. The vulnerability has a CVSS v4.0 scoreThe standard rating scale used to score how severe a software security flaw is of 9.2 and is tracked as CVEThe public tracking code assigned to a specific known security flaw in software or hardware-2026-126714.

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
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.
servers
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.
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.
deserialization
Turning stored or transmitted data bytes back into a live object inside a running program. If a server performs deserialization on untrusted data from a user without checking it, an attacker can craft an object that automatically runs malicious commands as it unpacks.
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
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.
CVSS v4.0 score
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
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 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.
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.
security updates
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

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