Cross-project prompt access via unchecked template identifiers
Published May 20, 2024 · Updated Jan 31, 2025
Improper access control in Lunary before 1.2.25 allows remote authenticated users to read or alter prompts in other projects. The GET and PATCH handlers for template versions accept a user-controlled template identifier without verifying that the referenced prompt belongs to the caller's project. Any account with access to one project can cross project boundaries, exposing prompt content or changing stored prompt data.
Summary
What happened
Improper access control in Lunary before 1.2.25 allows remote authenticated users to read or alter prompts in other projects. The GET and PATCH handlers for template versions accept a user-controlled template identifier without verifying that the referenced prompt belongs to the caller's project. Any account with access to one project can cross project boundaries, exposing prompt content or changing stored prompt data.
The record
- CVE
- CVE-2024-4151
- Published
- May 20, 2024
- Updated
- Jan 31, 2025
- Vendor
- Lunary
- Product
- Lunary
- Classifications
- CWE-639, T1213, T1565.001
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- May 20, 2024CVE publishedPublication date reported by the CVE source.
- Jan 31, 2025Record 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=unspecified <1.2.25
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
- Huntr proof of concept for CVE-2024-4151proof 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