{"id":"CVE-2023-45670","state":"PUBLISHED","title":"Frigate cross-site request forgery in `config_save` and `config_set` request handlers","description":"Frigate is an open source network video recorder. Prior to version 0.13.0 Beta 3, the `config/save` and `config/set` endpoints of Frigate do not implement any CSRF protection. This makes it possible for a request sourced from another site to update the configuration of the Frigate server (e.g. via \"drive-by\" attack). Exploiting this vulnerability requires the attacker to both know very specific information about a user's Frigate server and requires an authenticated user to be tricked into clicking a specially crafted link to their Frigate instance. This vulnerability could exploited by an attacker under the following circumstances: Frigate publicly exposed to the internet (even with authentication); attacker knows the address of a user's Frigate instance; attacker crafts a specialized page which links to the user's Frigate instance; attacker finds a way to get an authenticated user to visit their specialized page and click the button/link. This issue can lead to arbitrary configuration updates for the Frigate server, resulting in denial of service and possible data exfiltration. Version 0.13.0 Beta 3 contains a patch.","publishedAt":"2023-10-30T22:38:19.118Z","updatedAt":"2024-08-02T20:21:16.923Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["blakeblackshear frigate"],"affected":[{"vendor":"blakeblackshear","product":"frigate","versions":[{"version":"< 0.13.0-beta3","status":"affected"}]}],"references":["https://github.com/blakeblackshear/frigate/security/advisories/GHSA-xq49-hv88-jr6h","https://about.gitlab.com/blog/2021/09/07/why-are-developers-vulnerable-to-driveby-attacks/","https://github.com/blakeblackshear/frigate/blob/5658e5a4cc7376504af9de5e1eff178939a13e7f/frigate/http.py#L1060","https://github.com/blakeblackshear/frigate/blob/6aedc39a9a421cf48000a727f36b4c1495848a1d/frigate/http.py#L998","https://github.com/blakeblackshear/frigate/discussions/8366","https://securitylab.github.com/advisories/GHSL-2023-190_Frigate/"],"weaknesses":["CWE-352"],"ingestedAt":"2026-10-29T20:06:24.729Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/45xxx/CVE-2023-45670.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-45670","state":"PUBLISHED","datePublished":"2023-10-30T22:38:19.118Z","dateUpdated":"2024-08-02T20:21:16.923Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-10-10T14:36:40.861Z"},"containers":{"cna":{"title":"Frigate cross-site request forgery in `config_save` and `config_set` request handlers","descriptions":[{"lang":"en","value":"Frigate is an open source network video recorder. Prior to version 0.13.0 Beta 3, the `config/save` and `config/set` endpoints of Frigate do not implement any CSRF protection. This makes it possible for a request sourced from another site to update the configuration of the Frigate server (e.g. via \"drive-by\" attack). Exploiting this vulnerability requires the attacker to both know very specific information about a user's Frigate server and requires an authenticated user to be tricked into clicking a specially crafted link to their Frigate instance. This vulnerability could exploited by an attacker under the following circumstances: Frigate publicly exposed to the internet (even with authentication); attacker knows the address of a user's Frigate instance; attacker crafts a specialized page which links to the user's Frigate instance; attacker finds a way to get an authenticated user to visit their specialized page and click the button/link. This issue can lead to arbitrary configuration updates for the Frigate server, resulting in denial of service and possible data exfiltration. Version 0.13.0 Beta 3 contains a patch."}],"affected":[{"vendor":"blakeblackshear","product":"frigate","versions":[{"version":"< 0.13.0-beta3","status":"affected"}]}],"references":[{"url":"https://github.com/blakeblackshear/frigate/security/advisories/GHSA-xq49-hv88-jr6h","name":"https://github.com/blakeblackshear/frigate/security/advisories/GHSA-xq49-hv88-jr6h","tags":["x_refsource_CONFIRM"]},{"url":"https://about.gitlab.com/blog/2021/09/07/why-are-developers-vulnerable-to-driveby-attacks/","name":"https://about.gitlab.com/blog/2021/09/07/why-are-developers-vulnerable-to-driveby-attacks/","tags":["x_refsource_MISC"]},{"url":"https://github.com/blakeblackshear/frigate/blob/5658e5a4cc7376504af9de5e1eff178939a13e7f/frigate/http.py#L1060","name":"https://github.com/blakeblackshear/frigate/blob/5658e5a4cc7376504af9de5e1eff178939a13e7f/frigate/http.py#L1060","tags":["x_refsource_MISC"]},{"url":"https://github.com/blakeblackshear/frigate/blob/6aedc39a9a421cf48000a727f36b4c1495848a1d/frigate/http.py#L998","name":"https://github.com/blakeblackshear/frigate/blob/6aedc39a9a421cf48000a727f36b4c1495848a1d/frigate/http.py#L998","tags":["x_refsource_MISC"]},{"url":"https://github.com/blakeblackshear/frigate/discussions/8366","name":"https://github.com/blakeblackshear/frigate/discussions/8366","tags":["x_refsource_MISC"]},{"url":"https://securitylab.github.com/advisories/GHSL-2023-190_Frigate/","name":"https://securitylab.github.com/advisories/GHSL-2023-190_Frigate/","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-352","lang":"en","description":"CWE-352: Cross-Site Request Forgery (CSRF)","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-12-13T19:41:30.165Z"},"source":{"advisory":"GHSA-xq49-hv88-jr6h","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/blakeblackshear/frigate/security/advisories/GHSA-xq49-hv88-jr6h","name":"https://github.com/blakeblackshear/frigate/security/advisories/GHSA-xq49-hv88-jr6h","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://about.gitlab.com/blog/2021/09/07/why-are-developers-vulnerable-to-driveby-attacks/","name":"https://about.gitlab.com/blog/2021/09/07/why-are-developers-vulnerable-to-driveby-attacks/","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/blakeblackshear/frigate/blob/5658e5a4cc7376504af9de5e1eff178939a13e7f/frigate/http.py#L1060","name":"https://github.com/blakeblackshear/frigate/blob/5658e5a4cc7376504af9de5e1eff178939a13e7f/frigate/http.py#L1060","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/blakeblackshear/frigate/blob/6aedc39a9a421cf48000a727f36b4c1495848a1d/frigate/http.py#L998","name":"https://github.com/blakeblackshear/frigate/blob/6aedc39a9a421cf48000a727f36b4c1495848a1d/frigate/http.py#L998","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/blakeblackshear/frigate/discussions/8366","name":"https://github.com/blakeblackshear/frigate/discussions/8366","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://securitylab.github.com/advisories/GHSL-2023-190_Frigate/","name":"https://securitylab.github.com/advisories/GHSL-2023-190_Frigate/","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T20:21:16.923Z"}}]}}}