Cybersecurity news

Jessica Doner

Back to the list

(Reliable)? php2shell exploitability, (Fri, Oct 23rd)

SANS Internet Storm Center,

SANS researchers found that building a reliable one-click exploit for the php2shell vulnerability is difficult because published proofs of concept have pre-requirements.

Vulnerabilities and patches

Overview

A vulnerabilityA flaw in software or hardware that lets an attacker do something the maker did not intend called php2shell caused widespread concern among security professionals, but analysis suggests that creating a reliable, one-click exploitA piece of code or technique that uses a software flaw to break into or crash a system is difficult. The published proof-of-concept tools rely on specific conditions, such as a memory limit of 8 MB and a single-worker configurationA text file that stores settings, network addresses, and options for how a program or server runs, which are not typical in real-world setups. In actual environments, memory limits are usually 128 MB, and multiple workers make it hard for an attacker to target the correct process. The exploit requires leaking specific memory addresses to bypass security features like ASLRA memory protection defense that randomizes where a program's code and data load each time it runs, but the necessary offsets depend on the exact PHPA widely used server-side scripting language that builds dynamic web pages before sending them to browsers version and compilation settings. Attackers would need to know these specific details, which the proof-of-concept tools cheat by reading directly from the serverA computer or program on a network that stores data and responds to requests from client devices. Organizations running PHP with standard configurations are less vulnerable to this specific attack method than initially feared.

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.
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
configuration
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.
ASLR
A memory protection defense that randomizes where a program's code and data load each time it runs. Most operating systems enable ASLR so an attacker who finds a buffer overflow cannot predict the exact memory address of the code they want to jump to.
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.
exploitability
How practical it is for an attacker to turn a theoretical software flaw into a working attack. Two bugs might both allow code execution, but a flaw reachable over the internet with no login has much higher exploitability than one requiring rare local settings.
HTTP request
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.
bytes
A group of 8 bits, enough to store 1 character. Memory sizes, network payloads, and buffer lengths are measured in bytes, and memory corruption bugs happen when a program writes even a single byte past the end of its buffer. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
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.
bit
1 binary digit, a 1 or a 0 (a switch that is on or off). Every file, network packet, and cryptographic key in a computer is stored as a long sequence of bits, and key strength is measured by how many bits the key contains. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)

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 SANS Internet Storm Center website. Cite the article, not this page.

Read the full article on SANS Internet Storm Center (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