[SECURITY] Limit the search results per page 30/46830/2
authorBenni Mack <benni@typo3.org>
Tue, 23 Feb 2016 10:44:49 +0000 (11:44 +0100)
committerOliver Hader <oliver.hader@typo3.org>
Tue, 23 Feb 2016 10:45:24 +0000 (11:45 +0100)
commit1b446cece766ee0fe4efecf74de291c34a83bfa8
tree62a7d8a5d63b4a81c965e9157789cdf2bf28b476
parentb55c5e7913071d690facf82a67fd1b466b404766
[SECURITY] Limit the search results per page

Indexed Search allows to show up to 100.000
entries per page by configuring the paging
entry via a GET/POST variable, leading to a
possible DoS attack.

The max limit is set to 100 entries per page,
as a reasonable limit for the website search
results.

Resolves: #73458
Releases: master, 7.6, 6.2
Security-Commit: 8dc6e3c41d53788966b1ab220acd49a815ccfe7f
Security-Bulletins: TYPO3-CORE-SA-2016-005, 006, 007, 008
Change-Id: I46d825d918d716c6059bb732d3b808dd4bafdc9c
Reviewed-on: https://review.typo3.org/46830
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
typo3/sysext/indexed_search/Classes/Controller/SearchController.php
typo3/sysext/indexed_search/Classes/Controller/SearchFormController.php