HexBrain

Nextcloud · Report #1596918

Brute force protections don't work

Validstatus
lowseverity
4upvotes
3 Sept 2022disclosed

Summary

Security advisory at https://github.com/nextcloud/security-advisories/security/advisories/GHSA-2vwh-5v93-3vcq

How it was found

Summary:

Most of the brute force protections don't actually throttle() the response and so they are not logging negative attempts

Search for functions with the @BruteForceProtection annotation and check that they call throttle() on the response at least conditionally.

Impact

Brute force protection is not throttling any requests: https://github.com/nextcloud/server/blob/b70c6a128fe5d0053b7971881696eafce4cb7c26/lib/private/AppFramework/Middleware/Security/BruteForceMiddleware.php#L78-L82

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original