user_oidc app is missing bruteforce protection
Several controllers in the user_oidc app lack brute-force protection, allowing an attacker to repeatedly try values until a valid one is found. This could break or bypass authentication.
Originally disclosed on HackerOne
- Disclosed after 2 months
Summary by the program
SA: https://github.com/nextcloud/security-advisories/security/advisories/GHSA-x8mc-84wj-rf34
The report
Summary:
Various controllers of the user_oidc app are not bruteforce protected, allowing attackers to iterate over data until they find valid one.
- Id4meController::login
- Id4meController::code
- LoginController::login
- LoginController::code
- LoginController::csingleLogoutService
- LoginController::cbackChannelLogout
Impact
Authentication can be broken/bypassed
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the affected controllers do not implement rate limiting or brute-force protection.
Impact
Authentication could be broken or bypassed.
What the attacker needed
Access to the user_oidc app endpoints
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Brute-force protection slows down or blocks someone who tries many guesses in a row, like repeatedly guessing a password. Without it, an attacker can keep trying different values until one works. Here, several login-related parts of an app do not have this protection, so an attacker could guess until they get in.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.