Test WebDAV for default credentials
Try default WebDAV credentials like wampp/xampp on a WebDAV endpoint to see if they are still set. If they are, use a tool like cadaver to upload a file, such as a PHP reverse shell, to the server. Then, trigger the shell by browsing to it. If the server executes PHP, this can give you a reverse shell. Look for a 401 status code on a /webdav directory to find the endpoint. You can use dirsearch to brute-force directories and find hidden endpoints like this.
Follow #php, #sudo or #webdav for new tips like this one, on your notifications page and, if you choose, in a daily or weekly email.
Comments
No comments yet.