Authenticated Python code execution via Calculator eval
Published Sep 15, 2024 · Updated Sep 16, 2024
Code injection in Composio SDK 0.5.6 and earlier allows remote authenticated users to execute Python code through Calculator input. The Calculator.execute method passes the request.operation string directly to Python eval without restricting it to mathematical expressions. Invocation access to the local Calculator action is required, and injected code runs with the permissions of the host Composio process.
Summary
What happened
Code injection in Composio SDK 0.5.6 and earlier allows remote authenticated users to execute Python code through Calculator input. The Calculator.execute method passes the request.operation string directly to Python eval without restricting it to mathematical expressions. Invocation access to the local Calculator action is required, and injected code runs with the permissions of the host Composio process.
The record
- CVE
- CVE-2024-8864
- Published
- Sep 15, 2024
- Updated
- Sep 16, 2024
- Vendor
- Composio
- Product
- Composio SDK
- Classifications
- CWE-94, T1059.006
- Attack vector
- adjacent
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 15, 2024CVE publishedPublication date reported by the CVE source.
- Sep 16, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0.5.0
- Affected versionversion=0.5.0 <=0.5.6
- Affected versionversion=0.5.1
- Affected versionversion=0.5.2
- Affected versionversion=0.5.3
- Affected versionversion=0.5.4
- Affected versionversion=0.5.5
- Affected versionversion=0.5.6
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Calculator code-injection proof of conceptproof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo