CVE-2024-2195CWE-94

Remote Code Execution in aimhubio/aim

Critical · published April 10, 2024

CVSS v3.0
9.8
EPSS
2%
Percentile
78.5
In the wild
Unconfirmed
What it is

🚨 A single vulnerable API endpoint is all it takes for an attacker to execute arbitrary code on the server! 🔥 Think of this vulnerability like a restaurant where anyone can waltz into the kitchen based on a poorly checked reservation. If the staff doesn’t verify who can access the kitchen, a rogue diner could cook up a storm — or worse, contaminate the entire menu! The consequences are absolutely devastating. An attacker could gain complete control of the server, allowing them to read sensitive data, modify configurations, or even disrupt services entirely. This isn't just a minor oversight; it’s an open door to a full system compromise!

Put simply

Think of this vulnerability like a restaurant where anyone can waltz into the kitchen based on a poorly checked reservation. If the staff doesn’t verify who can access the kitchen, a rogue diner could cook up a storm — or worse, contaminate the entire menu! This remote code execution vulnerability lies within the `run_search_api` function in `aim/web/api/runs/views.py`, where improper user access restrictions allow the execution of arbitrary commands via the `query` parameter. Any version 3.0.0 or higher is at risk!

What to do

The consequences are absolutely devastating. An attacker could gain complete control of the server, allowing them to read sensitive data, modify configurations, or even disrupt services entirely. This isn't just a minor oversight; it’s an open door to a full system compromise! Patch immediately to version 3.0.1 or later to close this critical vulnerability. Additionally, review your access controls to ensure that user permissions are correctly implemented and restrict access to the `RunView` object. Don't let this slip through the cracks! You've got this! Follow these steps, and you’ll fortify your defenses against this threat in no time. 🛡️

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.01815 · 78.5th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2024-04-10T17:08Z
EPSS history
Timeline
  • 10 APR 17:08Z
    Remote Code Execution in aimhubio/aim
    cvelistv5