Skip to content
This repository has been archived by the owner on May 9, 2024. It is now read-only.

Enable WebDAV by default #76

Open
stokito opened this issue Mar 24, 2023 · 5 comments
Open

Enable WebDAV by default #76

stokito opened this issue Mar 24, 2023 · 5 comments

Comments

@stokito
Copy link

stokito commented Mar 24, 2023

This will simplify usage

@ltworf
Copy link
Owner

ltworf commented Mar 24, 2023

Also simplify getting hacked…

@stokito
Copy link
Author

stokito commented Mar 24, 2023

if the dav has an exploit vulnerability then yes. But given that the weborf is not so widely used it shouldn't be so many bots and scanners and less interest from hackers.
Anyway, it have to be read only by default.

@ltworf
Copy link
Owner

ltworf commented Mar 24, 2023

Ah so you'd only want PROPFIND.

But it lists all the files. So if you have an index.html, it will be used to hide the real contents, but they can still be found via PROPFIND.

Would a --propfind switch work? Just so it's nothing unexpected to existing deployments.

I've checked my logs and there were no bots trying PROPFIND requests… but that doesn't mean it will never happen.

@stokito
Copy link
Author

stokito commented Mar 25, 2023

ok, I got it. So if a directory has an index.html e.g. this is a usual site then it will be rendered instead of the directory listing.
Then the webdav makes sense to enable only if a directory listing is enabled. This is a bad heuristic.
Basically it should be fine to allow a PROPFIND because anywway files remain accessible via direct GET.

Also from what I understood the WebDAV check is really works in qweborf: looks like it listens for a socket but forwards to the weborf via unix socket

@ltworf
Copy link
Owner

ltworf commented Mar 25, 2023

Well it's available from GET but if you don't know what you want, good luck guessing a name.

Also from what I understood the WebDAV check is really works in qweborf: looks like it listens for a socket but forwards to the weborf via unix socket

qweborf implements an authentication protocol. In the examples directory there is a simple python script that implements the protocol. Very flexible but also very annoying :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants