Arbitrary file writes via remote prompt injection
Published Sep 25, 2024 · Updated Sep 26, 2024
Remote code execution in Ferris Lucas Promptr 6.0.7 allows remote attackers to alter local files via a crafted prompt or template URL. Main.js and TemplateLoader.js fetch URL content without trust validation, and the model converts injected instructions into crud_operations filesystem actions. Exploitation requires a user to invoke the CLI with an attacker-controlled URL and enable operation application, permitting writes under that user's permissions.
Summary
What happened
Remote code execution in Ferris Lucas Promptr 6.0.7 allows remote attackers to alter local files via a crafted prompt or template URL. Main.js and TemplateLoader.js fetch URL content without trust validation, and the model converts injected instructions into crud_operations filesystem actions. Exploitation requires a user to invoke the CLI with an attacker-controlled URL and enable operation application, permitting writes under that user's permissions.
The record
- CVE
- CVE-2024-46489
- Published
- Sep 25, 2024
- Updated
- Sep 26, 2024
- Vendor
- Ferris Lucas
- Product
- Promptr
- Classifications
- CWE-94, T1204.001
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Sep 25, 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=6.0.7
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
- Promptr 6.0.7 malicious prompt URL 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