PHP2Shell Vulnerabilities Enable Pre-Application Code Execution on Unpatched Servers
Security researcher Grigoriy Melnikov, creator of KillBot, has published a detailed explanation of how attackers can compromise servers through two known PHP vulnerabilities without needing administrative passwords or SSH access.
The flaws, tracked as CVE-2026-109618 and CVE-2026-109619 and collectively called PHP2Shell, allow any PHP code supplied by an attacker to execute inside the PHP process before the site’s own validators and security checks run.
Privilege and Impact
The attacker inherits the rights of the user under which PHP runs. On typical Ubuntu systems with Apache and mod_php this is the www-data user. From this position the attacker can read site source code, configuration files containing MySQL credentials, and, when write permissions allow, create new executable files inside the web root.
A concrete example shows an attacker reading a configuration file at /var/www/html/site.ru/config.php, extracting database credentials, and connecting directly to the MySQL server. If the database user possesses elevated privileges, the attacker can create additional accounts that persist even after the initial vector is closed.
Attack Sequence
- Confirm ability to execute arbitrary PHP code.
- Locate readable configuration files.
- Extract database connection parameters.
- Connect to the database and assess privileges.
- Perform allowed operations such as creating an administrator account or uploading files.
When PHP is permitted to write inside the site directory, the attacker can drop a file such as hack.php containing <?php echo shell_exec($_GET["c"]); ?> and then issue remote commands via URLs.
Hardening Recommendations
Even with strong configuration—separate ownership of source files, disabled dangerous functions, open_basedir restrictions, minimal MySQL privileges, and per-site system users—the attacker can still execute code inside PHP until the vulnerabilities are patched. The chance of establishing long-term persistence is significantly reduced.
When updating PHP is impossible, the only reliable mitigation is to place a hardened reverse proxy such as Cloudflare or a self-hosted proxy with the fix applied in front of the server and to block all direct inbound web traffic at the firewall except from the proxy’s IP addresses.
Administrators are urged to verify that no unauthorized files were left by previous exploitation attempts and to apply the available PHP patch immediately.
Related articles
Telegram Warns iPhone Users on Outdated iOS Versions of Mass Exploitation Risk
Telegram has started sending mass notifications to iPhone owners running older versions of iOS, alerting them to active exploitation campaigns that can compromise devices and personal data. Founder Pavel Durov shared a screenshot confirming the scale of the warnings and stated that outdated iOS versions contain vulnerabilities allowing attackers to gain access simply by having the user open a malicious website. The message emphasizes that all user data is at risk and urges immediate updates through the standard Settings menu. Durov noted that the campaign targets users of legacy iOS releases in a widespread manner. The advisory directs users to navigate to Settings, General, and Software Update to install the latest patches and restore device security.
Cybercriminals Exploit Drupal Installer Flaw CVE-2026-136716 to Hijack Sites Without Authentication
Cybercriminals are actively exploiting a critical flaw in the Drupal core installer that allows unauthenticated attackers to fully compromise websites. The Drupal security team confirmed the attacks on November 25, 2026, and released patches for all supported core branches. The vulnerability, tracked as CVE-2026-136716, affects sites where the installer remains publicly accessible, including production instances that had applied earlier fixes. Successful exploitation grants complete control over the site, exposing private data and enabling modification or deletion of content. The issue follows a related November 18 advisory covering CVE-2026-132165, which was added to the CISA Known Exploited Vulnerabilities catalog. Administrators must run update.php after applying the new patches, review access logs for signs of prior compromise on user account 1, and ensure install.php is properly restricted.
Palo Alto Patches Kernel Flaw CVE-2026-46300 Chained with PHP2Shell for Root Access on Firewalls
Palo Alto Networks has released a fix for a Linux kernel vulnerability tracked as CVE-2026-46300, known as Fragnesia, that allows attackers with limited access to escalate to root on PAN-OS firewalls. The flaw was observed being exploited in attacks targeting internet-exposed management interfaces, often after first compromising the device via the PHP2Shell pair of PHP vulnerabilities disclosed in October. Palo Alto states that Fragnesia alone cannot open the firewall from the outside and requires prior exploitation of CVE-2026-109618 to reach root privileges. The company observed a suspected China-linked actor using the chain to compromise 24 firewalls and one internal management server. Unit 42 confirmed the findings and noted that only 0.02 percent of customer devices worldwide had exposed management interfaces, yet those devices control critical network traffic. Patches are available for PAN-OS versions 10.2, 11.1, 11.2, 12.1, and 12.2, while newer releases ship with the fix included.
AI Uncovers Critical Java Zero-Day CVE-2026-114938 in 3 Hours for Under $200
CISA issued an urgent advisory on November 24 directing agencies to immediately scan Java environments, prioritizing internet-facing systems, after the disclosure of CVE-2026-114938, nicknamed Java4Shell. The vulnerability is a memory corruption flaw in the OpenJDK Base64 decoder that can lead to JVM crashes, heap memory disclosure, and remote code execution under specific conditions. A security firm named Calif reported discovering the flaw and building the first working exploit in just three hours using AI, with token costs below $200. The issue affects systems with AVX-512 VBMI and BW instruction set support and has already been validated for pre-auth RCE on Keycloak, Atlassian Jira, Confluence, JFrog Artifactory, Jenkins, and PingFederate. Oracle included a fix in its November patch cycle, though exploitation requires heap layout manipulation and ASLR bypass. The discovery highlights how AI is dramatically lowering the cost and time required for vulnerability research across core infrastructure components.