Summary
ownCloud Server 10.16.3 does not sufficiently limit repeated HTTP Basic Authentication attempts to its WebDAV endpoint. An unauthenticated remote attacker may make unlimited online password guesses, potentially gaining access if an account uses a guessable password.
Affected context
The issue affects the WebDAV endpoint at remote.php/webdav/ in ownCloud Server 10.16.3. It becomes risky when the endpoint is reachable by an attacker and repeated authentication failures are not subject to effective rate limits or other brute-force controls.
Exploit preconditions
- Attack surface: The WebDAV endpoint is reachable over HTTP or HTTPS.
- Required access: No prior authentication is required to submit login attempts.
- Trigger point: Repeated HTTP Basic Authentication requests to the endpoint.
- Why exploitation is possible: The endpoint allows unlimited online password guessing without sufficient brute-force protections; access depends on successfully guessing valid account credentials.
Why this happens
The underlying issue is inadequate control over repeated authentication failures. This maps primarily to CWE-307: Improper Restriction of Excessive Authentication Attempts. An authentication endpoint that accepts repeated guesses without effective limits gives attackers an opportunity to test passwords online. The description does not indicate that authentication can be skipped entirely; the concern is guessing credentials.
Potential impact
- An attacker could gain access to accounts with passwords they successfully guess.
- Compromised accounts may expose or allow modification of data available through WebDAV.
- Account access could enable further abuse, depending on the account's permissions and the surrounding deployment.
General mitigation guidance
Common defensive patterns focus on limiting repeated authentication attempts while preserving legitimate access:
- Apply rate limits or progressive delays to repeated failures, using controls that account for both source and account-level abuse.
- Consider temporary lockouts or additional verification after suspicious authentication patterns, with safeguards against denial-of-service through lockout abuse.
- Use strong, unique passwords and multi-factor authentication where supported.
- Restrict WebDAV exposure to intended users and networks, and apply least privilege to accounts that can access it.
- Monitor authentication failures and ensure controls are consistently enforced across relevant authentication paths.
How teams detect issues like this
- Review authentication code and configuration for missing or ineffective rate limits, delays, or failure thresholds.
- Monitor WebDAV authentication logs for unusually high failure rates, repeated attempts against individual accounts, or attempts distributed across many accounts.
- Use security tests and policy checks to verify that repeated failed attempts are throttled and that controls cannot be bypassed through alternate request paths.
- Automated security reviews can help identify authentication endpoints without brute-force protections.

