summaryrefslogtreecommitdiff
path: root/doc/source/features.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/source/features.rst')
-rw-r--r--doc/source/features.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/source/features.rst b/doc/source/features.rst
index 59aeac2..407c0c0 100644
--- a/doc/source/features.rst
+++ b/doc/source/features.rst
@@ -118,7 +118,8 @@ Unserialize-related magic
118^^^^^^^^^^^^^^^^^^^^^^^^^ 118^^^^^^^^^^^^^^^^^^^^^^^^^
119 119
120PHP is able to *serialize* arbitrary objects, to easily store them. 120PHP is able to *serialize* arbitrary objects, to easily store them.
121Unfortunately, it is often possible to gain arbitrary code execution upon deserialization 121Unfortunately, as demonstrated by `Stefan Esser <https://twitter.com/i0n1c>`__ in his `Shocking News in PHP Exploitation <https://www.owasp.org/images/f/f6/POC2009-ShockingNewsInPHPExploitation.pdf>`__ and `Utilizing Code Reuse/ROP in PHP
122Application Exploits <https://www.owasp.org/images/9/9e/Utilizing-Code-Reuse-Or-Return-Oriented-Programming-In-PHP-Application-Exploits.pdf>`__ slides, it is often possible to gain arbitrary code execution upon deserialization
122of user-supplied serialized objects. 123of user-supplied serialized objects.
123 124
124 Do not pass untrusted user input to ``unserialize()`` regardless of the options value of allowed_classes. 125 Do not pass untrusted user input to ``unserialize()`` regardless of the options value of allowed_classes.
@@ -306,7 +307,7 @@ helping to uncover vulnerabilities like the classical
306and various other types mismatch. 307and various other types mismatch.
307 308
308This feature is largely inspired from the 309This feature is largely inspired from the
309`autostrict <https://github.com/krakjoe/autostrict>`_ module from `krakjoe <krakjoe.ninja>`_. 310`autostrict <https://github.com/krakjoe/autostrict>`_ module from `krakjoe <http://krakjoe.ninja>`__.
310 311
311 312
312Preventing execution of writable PHP files 313Preventing execution of writable PHP files