Skip to content
Path traversal Disclosed report Intermediate CVE-2024-8769

Aim path traversal in LockManager.release_locks

The LockManager.release_locks function concatenates the user-controllable run_hash parameter into a file path without normalisation, allowing relative path traversal. An attacker can use this via the tracking server instruction API to delete arbitrary files on the server.

aimhubio/aim

Originally disclosed on huntr

Critical View original

A vulnerability in the LockManager.release_locks function in aimhubio/aim (commit bb76afe) allows for arbitrary file deletion through relative path traversal. The run_hash parameter, which is user-controllable, is concatenated without normalization as part of a path used to specify file deletion. This vulnerability is exposed through the Repo._close_run() method, which is accessible via the tracking server instruction API. As a result, an attacker can exploit this to delete any arbitrary file on the machine running the tracking server.

From the GitHub Advisory Database (GHSA-4qcx-jx49-6qrh, CC BY 4.0).

The original report as published on the GitHub Advisory Database. Images and videos are our own copies; raw HTML is shown as text. View it on GitHub Advisory Database.

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

Impact

An attacker could delete any arbitrary file on the machine running the tracking server.

What the attacker needed

Access to the tracking server instruction API

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 builds a file path using a value supplied by the user, but it does not clean up that value first. By putting special path segments in that value, an attacker can make the program point outside the intended folder and delete any file on 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 from aimhubio/aim

View all

The newest disclosed reports for this program.

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.