svn: /phpdoc/en/trunk/reference/wddx/functions/ wddx-deserialize.xml
| From: | Christoph Michael Becker | Date: | Tue, 14 Jul 2015 20:13:55 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/wddx/functions/ wddx-deserialize.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-13457@lists.php.net to get a copy of this message | ||
cmb Tue, 14 Jul 2015 20:13:55 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=337163
Log:
added warning regarding untrusted user input (fixes #70070)
Bug: https://bugs.php.net/70070 (Verified)
wddx_deserialize() undocumented unsafe deserialization
Changed paths:
U phpdoc/en/trunk/reference/wddx/functions/wddx-deserialize.xml
Modified: phpdoc/en/trunk/reference/wddx/functions/wddx-deserialize.xml
===================================================================
--- phpdoc/en/trunk/reference/wddx/functions/wddx-deserialize.xml 2015-07-14 11:38:09 UTC (rev
337162)
+++ phpdoc/en/trunk/reference/wddx/functions/wddx-deserialize.xml 2015-07-14 20:13:55 UTC (rev
337163)
@@ -40,6 +40,19 @@
array. Note that structures are deserialized into associative arrays.
</para>
</refsect1>
+
+ <refsect1 role="notes">
+ &reftitle.notes;
+ <warning>
+ <para>
+ Do not pass untrusted user input to <function>wddx_deserialize</function>.
+ Unserialization can result in code being loaded and executed due to object
+ instantiation and autoloading, and a malicious user may be able to exploit
+ this.
+ </para>
+ </warning>
+ </refsect1>
+
</refentry>
<!-- Keep this comment at the end of the file