diff options
Diffstat (limited to 'doc/source/features.rst')
| -rw-r--r-- | doc/source/features.rst | 5 |
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 | ||
| 120 | PHP is able to *serialize* arbitrary objects, to easily store them. | 120 | PHP is able to *serialize* arbitrary objects, to easily store them. |
| 121 | Unfortunately, it is often possible to gain arbitrary code execution upon deserialization | 121 | Unfortunately, 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 |
| 122 | Application 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 | ||
| 122 | of user-supplied serialized objects. | 123 | of 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 | |||
| 306 | and various other types mismatch. | 307 | and various other types mismatch. |
| 307 | 308 | ||
| 308 | This feature is largely inspired from the | 309 | This 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 | ||
| 312 | Preventing execution of writable PHP files | 313 | Preventing execution of writable PHP files |
