flâneur

PHP2Shell by Calif Research

calif.io · 2,743 words · saved by 1 readers

PHP >= 5.4.0 RCE PHP can leave dangling pointers/state when an allocation would exceed memory_limit, or another fatal error interrupts native code before its normal cleanup completes. Request shutdown may then free memory that surviving state still references. To reach an exploitable state we found two general OOM/memory_limit based fatal producers and three different interruptible points in the

PHP >= 5.4.0 RCE PHP can leave dangling pointers/state when an allocation would exceed memory_limit, or another fatal error interrupts native code before its normal cleanup completes. Request shutdown may then free memory that surviving state still references. To reach an exploitable state we found two general OOM/memory_limit based fatal producers and three different interruptible points in the interpreter that can leave a stale/consumable state that allows leaking memory and remote code execution. The earliest affected path we found dates to PHP 5.4.0; the available exploitation paths…

related reading