Batch process limit parameter not capped - potential DoS #42
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
BatchController::process()reads thelimitparameter from user input with no upper bound:A user could pass
limit=999999to process all articles in a single request, causing memory exhaustion or a PHP timeout.Fix
File
src/packages/com_mokoog/src/Controller/BatchController.php:63Branch created:
feature/42-batch-process-limit-parameter-not-capped