{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-45670",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2023-10-10T14:36:40.861Z",
        "datePublished": "2023-10-30T22:38:19.118Z",
        "dateUpdated": "2024-08-02T20:21:16.923Z"
    },
    "containers": {
        "cna": {
            "title": "Frigate cross-site request forgery in `config_save` and `config_set` request handlers",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-352",
                            "lang": "en",
                            "description": "CWE-352: Cross-Site Request Forgery (CSRF)",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "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"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/blakeblackshear/frigate/security/advisories/GHSA-xq49-hv88-jr6h",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/blakeblackshear/frigate/security/advisories/GHSA-xq49-hv88-jr6h"
                },
                {
                    "name": "https://about.gitlab.com/blog/2021/09/07/why-are-developers-vulnerable-to-driveby-attacks/",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://about.gitlab.com/blog/2021/09/07/why-are-developers-vulnerable-to-driveby-attacks/"
                },
                {
                    "name": "https://github.com/blakeblackshear/frigate/blob/5658e5a4cc7376504af9de5e1eff178939a13e7f/frigate/http.py#L1060",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/blakeblackshear/frigate/blob/5658e5a4cc7376504af9de5e1eff178939a13e7f/frigate/http.py#L1060"
                },
                {
                    "name": "https://github.com/blakeblackshear/frigate/blob/6aedc39a9a421cf48000a727f36b4c1495848a1d/frigate/http.py#L998",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/blakeblackshear/frigate/blob/6aedc39a9a421cf48000a727f36b4c1495848a1d/frigate/http.py#L998"
                },
                {
                    "name": "https://github.com/blakeblackshear/frigate/discussions/8366",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/blakeblackshear/frigate/discussions/8366"
                },
                {
                    "name": "https://securitylab.github.com/advisories/GHSL-2023-190_Frigate/",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://securitylab.github.com/advisories/GHSL-2023-190_Frigate/"
                }
            ],
            "affected": [
                {
                    "vendor": "blakeblackshear",
                    "product": "frigate",
                    "versions": [
                        {
                            "version": "< 0.13.0-beta3",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2023-12-13T19:41:30.165Z"
            },
            "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."
                }
            ],
            "source": {
                "advisory": "GHSA-xq49-hv88-jr6h",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T20:21:16.923Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/blakeblackshear/frigate/security/advisories/GHSA-xq49-hv88-jr6h",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/blakeblackshear/frigate/security/advisories/GHSA-xq49-hv88-jr6h"
                    },
                    {
                        "name": "https://about.gitlab.com/blog/2021/09/07/why-are-developers-vulnerable-to-driveby-attacks/",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://about.gitlab.com/blog/2021/09/07/why-are-developers-vulnerable-to-driveby-attacks/"
                    },
                    {
                        "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/5658e5a4cc7376504af9de5e1eff178939a13e7f/frigate/http.py#L1060"
                    },
                    {
                        "name": "https://github.com/blakeblackshear/frigate/blob/6aedc39a9a421cf48000a727f36b4c1495848a1d/frigate/http.py#L998",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/blakeblackshear/frigate/blob/6aedc39a9a421cf48000a727f36b4c1495848a1d/frigate/http.py#L998"
                    },
                    {
                        "name": "https://github.com/blakeblackshear/frigate/discussions/8366",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/blakeblackshear/frigate/discussions/8366"
                    },
                    {
                        "name": "https://securitylab.github.com/advisories/GHSL-2023-190_Frigate/",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://securitylab.github.com/advisories/GHSL-2023-190_Frigate/"
                    }
                ]
            }
        ]
    }
}