Authenticated code execution via traversal-based JavaScript upload
Published Sep 26, 2024 · Updated Sep 26, 2024
Arbitrary file upload in Agnaistic Agnai before 1.0.330 allows remote authenticated users to execute server commands via a crafted request. The entityUploadBase64 function derives a filename from the remote _id, accepts an attacker-chosen extension and Base64 content, and passes both to local storage without path or type validation. Exploitation requires an authenticated account on a publicly hosted self-managed installation that uses local rather than S3-compatible storage, and it permits server file overwrite and code execution.
Summary
What happened
Arbitrary file upload in Agnaistic Agnai before 1.0.330 allows remote authenticated users to execute server commands via a crafted request. The entityUploadBase64 function derives a filename from the remote _id, accepts an attacker-chosen extension and Base64 content, and passes both to local storage without path or type validation. Exploitation requires an authenticated account on a publicly hosted self-managed installation that uses local rather than S3-compatible storage, and it permits server file overwrite and code execution.
The record
- CVE
- CVE-2024-47169
- Published
- Sep 26, 2024
- Updated
- Sep 26, 2024
- Vendor
- Agnaistic
- Product
- Agnai
- Classifications
- CWE-35, CWE-434, T1190
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 26, 2024CVE publishedPublication date reported by the CVE source.
- Sep 26, 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 <1.0.330
- Affected versionversion=< 1.0.330
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
- Vendor advisory HTTP request 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