[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fnFAwOdMk6XQMI-hQy0l851xey_NEc4aUza0sY1zn1x0":3},{"lesson":4},{"id":5,"slug":6,"article_id":7,"title":8,"body":9,"prevention":10,"framework_refs":11,"framework_notes":17,"status":23,"created_at":24,"published_at":25,"article":26,"tags":30,"podcasts":43,"controls":44},"a8c7b4d2-08f0-4302-8f3f-ef8b4a9f72de","php-session-handler-flaw-enables-rce-even-after-prior-patch","cb57a390-6b2c-424a-ae03-aa43eba7ee1a","PHP Session Handler Flaw Enables RCE Even After Prior Patch","CVE-2026-126714 demonstrates how a seemingly complete fix can leave residual attack surface: attackers found a new path through PHP's default file-based session handler that the PHP2Shell patch did not address, achieving unauthenticated remote code execution via corrupted session files and object deserialization. The root issue is a combination of insecure default configuration (session.upload_progress.enabled on by default) and an incomplete prior remediation, compounding risk for organizations that believed they were protected. With a CVSS score of 9.2, this is a critical-severity flaw affecting a widely deployed runtime, meaning delayed patching exposes a vast attack surface. This incident reinforces that patching one vulnerability does not guarantee immunity from related attack chains, and that secure defaults must be validated independently of patch status.","**Immediate actions:**\n- Upgrade PHP to the fixed versions (8.2.36, 8.3.37, 8.4.28, or 8.5.13) as an emergency change.\n- Disable `session.upload_progress.enabled` in `php.ini` on all servers where upgrading immediately is not feasible.\n- Audit all internet-facing PHP applications to confirm which PHP version and session handler configuration is in use.\n\n**Long-term improvements:**\n- Maintain a complete, up-to-date software inventory (including runtime versions) to enable rapid scoping when new CVEs are published.\n- Establish a formal emergency patching SLA for CVSS 9.0+ vulnerabilities that mandates remediation within 24–72 hours.\n- Review and harden PHP default configurations organisationally, disabling unnecessary features such as session upload progress by policy.\n\n**Detection measures:**\n- Deploy runtime application self-protection (RASP) or a web application firewall with rules targeting session file manipulation and deserialization payloads.\n- Enable centralised logging of PHP error output and session handler activity to detect anomalous deserialization or memory corruption events.\n- Run continuous vulnerability scanning against internet-facing assets so newly published CVEs are automatically flagged against your inventory.",[12,13,14,15,16],"CIS Control 7: Continuous Vulnerability Management (v8)","CIS Control 2: Inventory and Control of Software Assets (v8)","NIST SP 800-53 SI-2: Flaw Remediation","NIST SP 800-53 CM-6: Configuration Settings","NIS2 Article 21(2)(e)",{"NIS2 Article 21(2)(e)":18,"NIST SP 800-53 SI-2: Flaw Remediation":19,"NIST SP 800-53 CM-6: Configuration Settings":20,"CIS Control 7: Continuous Vulnerability Management (v8)":21,"CIS Control 2: Inventory and Control of Software Assets (v8)":22},"NIS2 Article 21(2)(e) covers security in acquisition, development and maintenance including vulnerability handling; it directly requires operators to have processes for handling disclosed vulnerabilities like this critical PHP RCE flaw promptly.","SI-2 requires organisations to identify, report, and correct information system flaws within defined timeframes; a formal flaw remediation process would have accelerated patching and ensured the prior PHP2Shell fix was validated for completeness.","CM-6 requires establishing and enforcing secure configuration settings; mandating that session.upload_progress.enabled be disabled by default would have removed the attack vector this vulnerability exploits.","CIS Control 7 requires ongoing scanning and timely remediation of vulnerabilities; applying this control would have ensured CVE-2026-126714 was detected in the environment and prioritised for rapid patching before exploitation.","CIS Control 2 mandates maintaining an accurate inventory of software and versions; without knowing which PHP versions are deployed across the estate, organisations cannot quickly scope and remediate a critical runtime vulnerability.","published","2026-11-19T17:20:30.472123+00:00","2026-11-19T17:20:30.455+00:00",{"id":7,"url":27,"slug":28,"title":29},"https:\u002F\u002Fcybersecuritynews.com\u002Fphpaftershell-rce\u002F","new-phpaftershell-attack-bypasses-php2shell-fix-to-enable-remote-code-execution-5a4527","New phpAfterShell Attack Bypasses PHP2Shell Fix to Enable Remote Code Execution",[31,37],{"id":32,"name":33,"slug":34,"description":35,"color":36},"859cf0ad-a7e9-42bb-a75d-bac6511fa5d5","Configuration Management","configuration-management","Misconfigs, default credentials, exposed services","#eab308",{"id":38,"name":39,"slug":40,"description":41,"color":42},"af7fce9e-1ce8-4156-93bc-09dcfbfdf29d","Patch Management","patch-management","Unpatched vulnerabilities, delayed updates","#ef4444",[],[45,49,52],{"slug":46,"name":47,"problem":48},"vulnerability-management","Vulnerability scanning and prioritisation","You know which systems are vulnerable, and which ones to fix first.",{"slug":40,"name":50,"problem":51},"Automated patch management","Known holes get closed in days, not months.",{"slug":53,"name":54,"problem":55},"endpoint-detection-response","Endpoint detection and response (EDR and XDR)","Malware and hands-on-keyboard attackers on laptops and servers get spotted and stopped."]