Arbitrary file reading via unchecked static path
Published Nov 23, 2021 · Updated Aug 4, 2024
Path traversal in Aim before 3.1.0 allows remote attackers to read arbitrary server files through the static-files endpoint. The serve_static_files handler joins untrusted path input beneath ui/build and passes the result to FileResponse without verifying that the resolved path remains inside that directory. No authentication or user interaction is required, and disclosure is limited to files readable by the Aim process.
Summary
What happened
Path traversal in Aim before 3.1.0 allows remote attackers to read arbitrary server files through the static-files endpoint. The serve_static_files handler joins untrusted path input beneath ui/build and passes the result to FileResponse without verifying that the resolved path remains inside that directory. No authentication or user interaction is required, and disclosure is limited to files readable by the Aim process.
The record
- CVE
- CVE-2021-43775
- Published
- Nov 23, 2021
- Updated
- Aug 4, 2024
- Vendor
- AimStack
- Product
- Aim
- Classifications
- CWE-73, CWE-22, T1005
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Nov 23, 2021CVE publishedPublication date reported by the CVE source.
- Aug 4, 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=< 3.1.0
What conditions does exploitation require?
What is affected?
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
- Upstream static-files traversal request exampleproof 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