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

The DAV room on (BSidesGT) chains two misconfigurations rather than a CVE: an exposed /webdav path on 2.4.18 protected by publicly documented default credentials, which allowed uploading a PHP file into an executable web path, and a NOPASSWD sudo rule permitting /bin/cat as root. Defenders should remove or restrict WebDAV where unused, change or remove default credentials, block execution in upload directories, and avoid granting sudo on file-read utilities. This is a lab write-up with no in-the-wild activity reported.

For security analysts · 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