Remote code execution via unsafe YAML deserialization
Published Oct 30, 2023 · Updated Aug 2, 2024
Unsafe deserialization in Frigate before 0.13.0 Beta 3 allows remote attackers to execute code through a crafted configuration request. The /api/config/save handler passes request data to load_config_with_no_duplicates, whose YAML Loader permits custom constructors. Exploitation requires an internet-exposed instance, knowledge of its address, and an authenticated user who clicks a crafted link; executed code can write mounted filesystems.
Summary
What happened
Unsafe deserialization in Frigate before 0.13.0 Beta 3 allows remote attackers to execute code through a crafted configuration request. The /api/config/save handler passes request data to load_config_with_no_duplicates, whose YAML Loader permits custom constructors. Exploitation requires an internet-exposed instance, knowledge of its address, and an authenticated user who clicks a crafted link; executed code can write mounted filesystems.
The record
- CVE
- CVE-2023-45672
- Published
- Oct 30, 2023
- Updated
- Aug 2, 2024
- Vendor
- Frigate, Inc.
- Product
- Frigate
- Classifications
- CWE-502, T1190, T1566.002
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Oct 30, 2023CVE publishedPublication date reported by the CVE source.
- Aug 2, 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.13.0-beta3
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
- GHSA-qp3h-4q62-p428 YAML deserialization 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