[RFC] Deprecate class instance deserialization in WDDX

From: Date: Tue, 15 Aug 2017 16:54:22 +0000
Subject: [RFC] Deprecate class instance deserialization in WDDX
Groups: php.internals 
Request: Send a blank email to internals+get-100220@lists.php.net to get a copy of this message
Hi internals! Due to the recent discussion regarding WDDX serialization and security (<http://marc.info/?l=php-internals&m=150245739612076&w=2>), I've written an RFC that proposes to deprecate class instance deserialization in WDDX: <https://wiki.php.net/rfc/wddx-deprecate-class-instance-deserialization> I hereby put this RFC under discussion. Note that I have fully intentional left out issues like moving the WDDX extension to PECL, actually removing the class instance deserialization and the wddx session serialization handler, to eschew lengthy discussions, because I would like to see the deprecation already happening in *PHP 7.2*, since this is a rather sensitive issue. Of course, just deprecating this "feature" does not directly prevent the associated security issues, but it may help to make developers aware of those, especially because these issues have only been recently be documented (<http://svn.php.net/viewvc?view=revision&revision=342852>). Furthermore, the deprecation is in my opinion a necessary prerequisite for eventual removal of this "feature". I don't think that we can suddenly remove functionality that has been available since PHP 4.0.0. I'm looking forward to your feedback. -- Christoph M. Becker

« previous php.internals (#100220) next »