All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

PHP 8 Sandbox Escape Exploit: Use-After-Free Vulnerability Bypasses disable_functions

By

m0x41nos

2mo ago· 1 min readenCode

Summary

This article describes a PHP 8 sandbox escape proof-of-concept (PoC) that exploits a use-after-free vulnerability to bypass disable_functions restrictions on Unix-like systems. The exploit leverages DateInterval objects to leak heap pointers and obtain read/write primitives, allowing execution of system commands. The PoC has been tested across multiple PHP distributions and server APIs (CLI, PHP-FPM, Apache module) and reproduces deterministically. The article notes that PHP core is memory-unsafe and memory corruption in typical deployments is exploitable.

Key quotes

· 5 pulled
PHP 8 sandbox escape PoC demonstrating a disable_functions bypass on Unix-like systems.
This exploit leverages a use-after-free bug to bypass disable_functions and execute system commands.
The exploitation techniques used for leaking heap pointers and obtaining read/write primitives utilize the DateInterval object.
The PoC was tested across multiple standard PHP distributions and common server APIs (CLI, PHP-FPM, Apache module) and reproduces deterministically.
PHP core is memory-unsafe, and memory corruption in typical PHP deployments is exploitable.
Snippet from the RSS feed
PHP 8 Sandbox Escape. Contribute to m0x41nos/TimeAfterFree development by creating an account on GitHub.

You might also wanna read

Critical Remote Code Execution Vulnerability Discovered in Widely Used protobuf.js Library

A critical remote code execution vulnerability has been discovered in protobuf.js, a widely used JavaScript implementation of Google's Proto

bleepingcomputer.com·1mo ago

Security Vulnerability in iTerm2: 'cat readme.txt' Command Can Enable Arbitrary Code Execution

The article reveals a security vulnerability in iTerm2 where the seemingly harmless command 'cat readme.txt' can be exploited for arbitrary

blog.calif.io·1mo ago

Windows Defender Vulnerability Allows Malicious File Persistence Through Cloud Tag Detection

The article describes a GitHub repository called 'RedSun' that documents a Windows Defender vulnerability. The vulnerability involves Window

github.com·1mo ago

Roundcube Webmail Vulnerability Allows Email Tracking Despite Image Blocking

Roundcube Webmail versions before 1.5.13 and 1.6.13 contain a security vulnerability (CVE-2026-25916) that allows attackers to bypass remote

nullcathedral.com·3mo ago

Critical RCE Vulnerability in React Server Components Affects React 19.x and Next.js 15.x/16.x

A critical security vulnerability (CVE-2025-5518) affects React packages versions 19.0.0-19.2.0 and Next.js 15.x/16.x using App Router, allo

github.com·5mo ago

Critical Chromium Browser Vulnerability: DoS Attack via document.title API Exploitation

The article details 'Brash,' a critical vulnerability in Chromium-based browsers that allows denial-of-service attacks by exploiting the doc

github.com·7mo ago