Cybersecurity news

Jessica Doner

Back to the list

PHP2Shell: One Upload, Full Server

Varonis,

Two critical flaws let unauthenticated attackers run code remotely on PHP installations before application code executes, exposing many websites.

Vulnerabilities and patches

Overview

Two critical flaws were discovered in the core of PHPA widely used server-side scripting language that builds dynamic web pages before sending them to browsers, a software system that powers roughly 70% of the world's websites. These bugs allow unauthenticated attackers to read sensitive data or run code on serversA computer or program on a network that stores data and responds to requests from client devices without needing a user account. The vulnerabilities exist in the underlying engine, so even secure applications like WordPress or Drupal remain exposed if the PHP version is not updated. Researchers found the issues in August and reported them, with patchedA software update released by a developer to fix a bug or close a security flaw releases shipping on October 21 for versions 8.2 through 8.5. Older versions, including PHP 8.1 and earlier, have no official fix available. Every PHP version back to 5.4 is affected, meaning organizations using these systems must update their infrastructure to prevent data leaks.

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.
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.
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
secrets
Private credentials used by software, such as API keys, database passwords, and encryption keys. Software teams use vault tools to keep secrets out of source code because anyone who finds a leaked secret in a public repository can log right in to the company's cloud services.
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 attacker
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.
tokens
A short-lived digital pass that a server gives a logged-in user or app. After you sign in once, your browser or app presents a token on each request, and if malware steals that token the attacker can act as you without knowing your password. Security+ objective 4.6 lists the term
API keys
A secret string a program sends with an API request to identify itself and get access. Software teams sometimes accidentally upload an API key to a public code repository, allowing attackers who scan for leaked keys to rack up cloud bills or read private databases. Security+ objective 4.6 lists the term
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.
container images
A read-only template file that packages an application together with all the libraries it needs to run. Software teams download base container images from public registries to deploy cloud services, and a single outdated or backdoored container image can spread flaws across many servers.
runtime
The environment in which a program executes, or the period of time while the program is actively running. A flaw in a container or language runtime can let a program escape its isolation, and runtime security tools watch what a program actually does in memory while it runs.
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

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

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