[Bug]: Some users can access webdav with their password with token_auth_enforced
set
#50279
Open
6 of 8 tasks
Labels
Bug description
NOTE: the server is slightly not up to date, but will be on Friday
a week or two pending scheduled maintenance approval, however it's very recent (30). Also, this is so strange that I doubt it will be changed by the time we complete the update.We have token_auth_enforced as true, but some users are able to map a web drive in Windows using their user + password, whilst trying to access with cadaver they can't.
It's not all users, and I haven't found a way to determine which, but I have a couple to compare, say guser1 who could (BAD) and ouser2 o can't (OK)
I will replace further occurrences of their logins by these tokens.
My first suspicion was that it happened because they're LDAP users, but both guser1 and ouser2 are similar LDAP users with the same privileges.
My second suspicion is that it's something related with their age, as those we tested that can't are more recent than 4 years, whilst those we tested that could were 4 and older.
Steps to reproduce
I'm unsure how to reproduce.
Expected behavior
No user should be able to access their files via webdav with their password, they should all have to use an app token.
Nextcloud Server version
30
Operating system
RHEL/CentOS
PHP engine version
PHP 8.2
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
unsure which entries to place
Additional info
No response
The text was updated successfully, but these errors were encountered: