CVE-2024-6396CWE-29

Arbitrary File Overwrite and Data Exfiltration in aimhubio/aim

Critical · published July 12, 2024

Patch now

High probability of exploitation

CVSS calls it critical at 9.8. It sits in the 99.0th percentile for exploit probability.

CVSS v3.0
9.8
EPSS
53%
Percentile
99.0
In the wild
Unconfirmed
What it is

🚨 A simple tweak to a couple of parameters means any remote attacker can overwrite files on your server with this mind-blowingly simple exploit! 🔥 Think of the `_backup_run` function like a restaurant that lets anyone rewrite the menu without checking — an unwatched kitchen where anyone can swap out the chef’s special for a mystery dish. Yikes! This flaw can lead to catastrophic consequences, allowing attackers to wipe critical system files, exfiltrate sensitive data, or even inject malicious code that could compromise your entire server. It’s a recipe for disaster!

Put simply

Think of the `_backup_run` function like a restaurant that lets anyone rewrite the menu without checking — an unwatched kitchen where anyone can swap out the chef’s special for a mystery dish. Yikes! This vulnerability in aimhubio/aim version 3.19.3 is triggered by improper handling of the `run_hash` and `repo.path` parameters. This allows attackers to manipulate these inputs, leading to arbitrary file writes on the server.

What to do

This flaw can lead to catastrophic consequences, allowing attackers to wipe critical system files, exfiltrate sensitive data, or even inject malicious code that could compromise your entire server. It’s a recipe for disaster! Immediately update aimhubio/aim to version 3.19.4 to patch this vulnerability. Also, review the handling of the `run_hash` and `repo.path` parameters in your application to ensure no similar issues exist. Regularly audit your server for any suspicious file changes! You've got this! With these steps, you'll be one step closer to securing your server and earning your security hero badge! 🛡️

The record
Technical detail
CVSS v3.0
9.8 · CRITICAL
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.53113 · 99.0th percentile
Weakness
CWE-29 · Path Traversal: '\..\filename'
Published
2024-07-12T00:00Z
EPSS history
Timeline
  • 12 JUL 00:00Z
    Arbitrary File Overwrite and Data Exfiltration in aimhubio/aim
    cvelistv5