Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic Auth from other website on same domain triggers brute force protection #12720

Closed
michag86 opened this issue Nov 29, 2018 · 3 comments
Closed
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug

Comments

@michag86
Copy link
Contributor

If there is a existing basic authentication to another web application on the same host (and domain), the credentials from the basic authentication are logged as failed logins.

I don't know if there is a configuration to avoid this.

Steps to reproduce

  1. Login to a basic authentication protected website on the same host (and domain) where nextcloud is installed
  2. Open nextcloud login page
  3. check the nextcloud.log for failed logins

Expected behaviour

No failed logins are logged

Actual behaviour

Failed logins are logged for the user, that was used for basic authentication.

Server configuration

Operating system:
Ubuntu 16.04
Web server:
Apache 2.4
Database:
MySQL
PHP version:
PHP 7.0

Nextcloud version: (see Nextcloud admin page)
14.0.4
Updated from an older Nextcloud/ownCloud or fresh install:
updated from 11.0.x
Where did you install Nextcloud from:
zip
Signing status:
No errors have been found.

@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #3971 (Brute Force), #437 (brute force protection for Nextcloud APIs), #478 (Consider brute-force protection on the Server-to-Server Sharing Endpoint), #703 (brute force protection - whitelist (proxy server for example)), and #12140 (Expired tokens should not trigger bruteforce protection).

@rullzer
Copy link
Member

rullzer commented Mar 5, 2019

there is not much we can do about that. Your browser probably sends the same basic auth credentials (which are not valid for Nextcloud). thus invoking the brute force protection

@skjnldsv skjnldsv added the 0. Needs triage Pending check for reproducibility or if it fits our roadmap label Jun 12, 2019
@skjnldsv
Copy link
Member

closing then

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug
Projects
None yet
Development

No branches or pull requests

4 participants