dynmap icon indicating copy to clipboard operation
dynmap copied to clipboard

windows directory/path traversal/local file include vulnerability

Open cryptolok opened this issue 7 years ago • 3 comments

on the windows setup with integrated web server, it is possible to access the whole server data as read-only using the following URL: my.server.net:8123/..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c/windows/win.ini thus, every file can be remotely read without any authentication the solution is to filter/encode the input, such as .. / \ or simply use a more advanced version of the web server (that already do it) or whitelist known URLs with a regex/mask

dirTraversal

cryptolok avatar Aug 07 '19 22:08 cryptolok

This is pretty critical vulnerability, this needs to be fixed ASAP!

fabianmakila avatar Sep 08 '19 12:09 fabianmakila

Is this being looked into at all? Now that I'm aware of this vulnerability (and confirmed on my own setup), I either need to figure out how to mitigate this behavior or remove Dynmap from my server immediately.

Kortako avatar Oct 04 '19 01:10 Kortako

Tested this just now, couldn't replicate. The web code has gotten some love recently so I believe it was fixed then

FedUpWith-Tech avatar Dec 17 '21 18:12 FedUpWith-Tech