NVIDIA AIStore Object Rename Directory Traversal Remote Code Execution Vulnerability
The rename object handler in NVIDIA AIStore fails to validate a user-supplied path before using it in file operations, allowing a remote unauthenticated attacker to traverse directories. This can lead to arbitrary code execution with root privileges.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to execute arbitrary code on affected installations of NVIDIA AIStore. Authentication is not required to exploit this vulnerability.
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 report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the rename handler concatenates or resolves a user-supplied path without canonicalising it or restricting it to an allowed directory, so path traversal sequences escape the intended storage root.
Impact
An unauthenticated remote attacker could execute arbitrary code as root on the affected installation.
What the attacker needed
Network access to AIStore; no authentication required
The fix
NVIDIA issued an update to correct the vulnerability; the handler should validate and confine user-supplied paths before file operations.
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 report has not been written yet. The Original tab links to the source.
A program that renames files accepted a path from the user without checking it. By supplying a path that points outside the intended folder, an attacker could make the program touch files it should not, and in this case run their own code as the most powerful user on the system.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.