summaryrefslogtreecommitdiff
path: root/doc/source/features.rst
diff options
context:
space:
mode:
authorjvoisin2021-05-01 17:50:32 +0200
committerjvoisin2021-05-01 17:51:48 +0200
commit73f764647baa7cdfb66eb6bf4b2feb96e190ef88 (patch)
tree9761a2569ea32c0a47063da67f089669e25c9f65 /doc/source/features.rst
parent006026b492b119319219cd0e6eb2a6cbdb77c4e6 (diff)
Improve our SQLI-related documentation and remove some useless rules
Diffstat (limited to 'doc/source/features.rst')
-rw-r--r--doc/source/features.rst12
1 files changed, 3 insertions, 9 deletions
diff --git a/doc/source/features.rst b/doc/source/features.rst
index 2eebc88..25fd62d 100644
--- a/doc/source/features.rst
+++ b/doc/source/features.rst
@@ -480,15 +480,9 @@ to see that people are disabling it on production too.
480We're detecting/preventing this by not allowing the ``CURLOPT_SSL_VERIFYPEER`` and 480We're detecting/preventing this by not allowing the ``CURLOPT_SSL_VERIFYPEER`` and
481``CURLOPT_SSL_VERIFYHOST`` options from being set to ``0``. 481``CURLOPT_SSL_VERIFYHOST`` options from being set to ``0``.
482 482
483*Cheap* SQL injections detection 483*Cheap* error-based SQL injections detection
484"""""""""""""""""""""""""""""""" 484""""""""""""""""""""""""""""""""""""""""""""
485 485
486In some SQL injections, attackers might need to use comments, a feature that is 486If a function performing a SQL query returns ``FALSE``
487often not used in production system, so it might be a good idea to filter
488queries that contains some. The same filtering idea can be used against
489SQL functions that are frequently used in SQL injections, like ``sleep``, ``benchmark``
490or strings like ``version_info``.
491
492On the topic of SQL injections, if a function performing a query returns ``FALSE``
493(indicating an error), it might be useful to dump the request for further analysis. 487(indicating an error), it might be useful to dump the request for further analysis.
494 488