The Natural Philosopher <t…@invalid.invalid> writes:
> Hundreds of articles about it but none detailing exactly how the > exploits work > Anyone know?
The advisories sketch what the bugs look like: https://github.com/php/php-src/security/advisories/GHSA-w8hw-w9fx-j79w https://github.com/php/php-src/security/advisories/GHSA-6wmf-4rv5-p3rp Briefly, error paths don’t clean up internal state adequately, and leave invalid states (e.g. pointers to freed data, wrong array bounds, etc) which can be exploited during subsequent requests. More details, with (roughly) increasing levels of detail from one to the next, can be found here: https://www.wiz.io/blog/php2shell-php-rce https://www.crowdstrike.com/en-us/blog/crowdstrike-protects-customers-from-php-rce-zero-days/ https://calif.io/php2shell/