Arbitrary file read via unchecked download path
Published Sep 15, 2024 · Updated Sep 16, 2024
Path traversal in Composio SDK 0.5.0 through 0.5.8 allows remote authenticated users to read arbitrary server files through the download API. The /api/download handler passes the file query parameter directly to pathlib.Path and returns the resulting file or archive without constraining it to an allowed directory. Access to the running server API is required; successful requests disclose files readable by the Composio process without altering data or interrupting service.
Summary
What happened
Path traversal in Composio SDK 0.5.0 through 0.5.8 allows remote authenticated users to read arbitrary server files through the download API. The /api/download handler passes the file query parameter directly to pathlib.Path and returns the resulting file or archive without constraining it to an allowed directory. Access to the running server API is required; successful requests disclose files readable by the Composio process without altering data or interrupting service.
The record
- CVE
- CVE-2024-8865
- Published
- Sep 15, 2024
- Updated
- Sep 16, 2024
- Vendor
- Composio
- Product
- Composio SDK
- Classifications
- CWE-22, T1005
- Attack vector
- network
- 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.8
- 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
- Affected versionversion=0.5.7
- Affected versionversion=0.5.8
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
- API download arbitrary-file-read proof of conceptproof of concept · demonstrated
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