-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
webdav/profind issue on admin overview page #12685
Comments
This cut off request is very weird. Can you reproduce with other browsers as well? Is it possibly one of your extensions that mangles the request? |
I will try with an other browser when I get home. Regarding extensions, here is the list of active apps installed on my Nextcloud setup:
Most of them are offical, I don't think this issue is related to an app. |
I also updated to Nextcloud 14.0.4 and this bug is still present. |
I meant browser extensions rather than Nextcloud apps. |
Hello, On OSX with Chrome -> no issue The only plugin present on my Firefox is addblock. The bug persist when addblock is disabled. What I do not understand is why there is form data for testing webdav but not on caldav and carddav. |
caldav and carddav are based on webdav |
I know, so why testing webdav is different than testing caldav and carddav? This bug is not present on cardav and caldav... I see that tag 'needs info' is still present, what more do you need? Can you replecate? |
Similar issue. I noticed @Ricain has installed Modsecurity, and I believe from my perspective the issue of not passing the nextcloud security check is related to the Modsecurity config, or False positive alarming. My workaround is to check the log file and locate where the problem is, and then add to the Apache's vhost config file a few lines.
My Modesecurity ver: modsecurity-2.9.3 |
@baoang you are right for the security check, but this issue is about why This partial webdav header is not allowed by owasp-modsecurity-crs. In my local network (at home) where modsecurity is disabled for private IP ranges, webdav check is OK, but header sent for that check is still partial. So it's not a modsecurity related issue. At least I am not alone with this issue 🙂 |
The content type is wrong. Request is sent with
Are you able to enable the modsecurity rule again with the above patch? |
cc @ricain @baoang 🏓 |
Hello,
When I go to my admin setting page, I have a message saying
Your web server is not yet properly set up to allow file synchronization, because the WebDAV interface seems to be broken.
After investigating I a found the following bug:Steps to reproduce
PROFIND webdav
(see image below)Actual behaviour
The request sent to server is
<?xml version: "1.0"?><d:propfind xmlns:d
, this probably uncomplete.Other PROFIND request for caldav and carddav have empty request.
I also use webdav with this installation of Nextcloud and there is no issue.
Expected behaviour
No content as parametter for PROFIND webdav?
Server configuration
I am running Nextcloud 14.0.3 on Archlinux with PHP 7.2 and Apache 2.4. I also added modSecurity, this is why I have an error 500 (see image below). modSecurity find that
<?xml version: "1.0"?><d:propfind xmlns:d
looks like a XSS attack and ends the connection with an error.Thank for Nextcloud 👍
The text was updated successfully, but these errors were encountered: