Skip to content
Path traversal Write-up Advanced

This Linux Vulnerability Could Get You A Root Terminal In A Snap Nimbuspwn Vulnerability

The networkd-dispatcher daemon on Linux had directory traversal, symlink race, and TOCTOU race condition flaws in how it discovered and ran scripts. A local attacker with low privileges could chain these to escalate to root and deploy malicious payloads.

FreakyDodo Follow

Published on systemweakness.com

Microsoft has identified multiple vulnerabilities, referred to as Nimbuspwn, that may let a hacker attain root access on many Linux desktop endpoints. The flaws can be chained together to give hackers unrestricted root access and the ability to deploy malicious payloads like a backdoor or malware.

FreakyDodo, on systemweakness.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the script discovery and execution logic did not sanitise state values used to build paths, followed symbolic links, and had a time gap between checking and running scripts.

Impact

A low-privileged local attacker could escalate to root and deploy backdoors or malware, though the text does not show a full exploit chain.

What the attacker needed

Local low-privileged access

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

This is about a background program on Linux that runs scripts when the network state changes. Because it did not check the script paths carefully and followed shortcuts (symlinks), a normal user could trick it into running their own code as the all-powerful root user. That means they could take full control of the machine.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

More by FreakyDodo

View all

2 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.