CVE-2024-8958CWE-434

Unrestricted File Write and Read in composiohq/composio

High 路 published March 20, 2025

CVSS v3.0
7.2
EPSS
1%
Percentile
72.7
In the wild
Unconfirmed
What it is

馃毃 An improper file path validation in composiohq/composio version 0.4.3 can let attackers read and write files anywhere on the server鈥攖alk about a recipe for disaster! 馃敟 Imagine a hotel with a front desk that gives guests access to every room without checking their IDs. This vulnerability acts like that front desk鈥攁n attacker can wander in and access sensitive files as if they own the place! If exploited, an attacker could not only peek into sensitive files but also modify or delete them, leading to privilege escalation or even full remote code execution. This could result in catastrophic data breaches or server compromises, putting your entire operation at risk!

Put simply

Imagine a hotel with a front desk that gives guests access to every room without checking their IDs. This vulnerability acts like that front desk鈥攁n attacker can wander in and access sensitive files as if they own the place! This vulnerability arises from unrestricted file write and read actions in the filetools module, allowing attackers to bypass security checks and manipulate any files on the server. Malicious file paths can be crafted to exploit this weakness.

What to do

If exploited, an attacker could not only peek into sensitive files but also modify or delete them, leading to privilege escalation or even full remote code execution. This could result in catastrophic data breaches or server compromises, putting your entire operation at risk! To mitigate this risk, immediately update composio to the latest version where this issue has been patched. Additionally, implement strict input validation and file access controls to ensure that only authorized paths are accessible. Regularly audit your server's file permissions for added security! You've got this! By following these steps, you'll be well on your way to securing your server and earning your superhero cape! 馃Ω

The record
Technical detail
CVSS v3.0
7.2 路 HIGH
Vector
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01422 路 72.7th percentile
Weakness
CWE-434 路 Unrestricted Upload of File with Dangerous Type
Published
2025-03-20T10:11Z
EPSS history
Timeline
  • 20 MAR 10:11Z
    Unrestricted File Write and Read in composiohq/composio
    cvelistv5