Saturday 5 December 2026 · UTC
Global

Your region, kept on this device.

TryHackMe DAV room shows root access via default WebDAV credentials and a sudo misconfiguration

Compiled by RedTeamDaily · AI-assisted summaries · Human review not recorded for this version

Published

Read InfoSec Write-ups report

What happened

This is a write-up of a beginner practice challenge on . It shows how a web folder left with default factory login details let an attacker put a file on the server, and how a loose administrator permission then gave full control of the machine.

Like I’m new · Written by AI from 1 source · Report an error

Key points
  • The attack relied on default WebDAV credentials, not a software vulnerability.
  • A PHP file uploaded to an executable web directory allowed the attacker to run code on the server.
  • A sudo rule allowing cat without a password let the attacker read any file as root.
Sources (1)
  1. TryHackMe — DAV: Default WebDAV Creds, a Shell Upload, and a sudo cat to RootInfoSec Write-ups · 30 Nov 2026, 07:03 UTC
Publishers
1

Sources and verification

Sources and editorial review

No named human review has been recorded for this story.

How severity and exploitation labels work · All sources · Report an error

What to do

  1. Disable WebDAV on any server where it is not needed.
  2. Change or remove default credentials on any WebDAV or XAMPP installation.
  3. Restrict sudo rules so that file-read utilities such as cat are not granted to users without strict path limits.

Written by AI from the sources, checked against them

Source timeline (UTC) · 1 update

1 published report from 1 publisher. Independent confirmations are unverified.

  1. Mon 30 NovemberTryHackMe — DAV: Default WebDAV Creds, a Shell Upload, and a sudo cat to RootInfoSec Write-ups

Explore this report

Ask AI about this story

Optional follow-up answers generated from our coverage. Check the linked sources before acting.

Ask your own question

Who and what is in it

Companies

Report a problem