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

Aim Relative Path Traversal vulnerability

The `runs/delete-batch` endpoint in aimhubio/aim 3.19.3 does not properly sanitise user-supplied run names, allowing path traversal. An attacker could delete arbitrary files or directories, leading to data loss or denial of service.

aim

Originally disclosed on huntr

A vulnerability in the runs/delete-batch endpoint of aimhubio/aim version 3.19.3 allows for arbitrary file or directory deletion through path traversal. The endpoint does not mitigate path traversal when handling user-specified run-names, which are used to specify log/metadata files for deletion. This can be exploited to delete arbitrary files or directories, potentially causing denial of service or data loss.

From the GitHub Advisory Database (GHSA-p6x3-v6g3-7557, 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

Root cause

Likely missing validation or sanitisation of user-supplied run names before using them in file system paths for deletion.

Impact

An attacker could delete arbitrary files or directories, potentially causing denial of service or data loss.

What the attacker needed

Access to the runs/delete-batch endpoint

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.

This is a path traversal bug. The software takes a name from the user and uses it to build a file path without checking for '..' sequences, so an attacker can point to files outside the intended folder and delete them.

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 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.