llamaCVEVulnerability Intelligence
/
frigate

CVE-2023-45670

Frigate cross-site request forgery in config_save and config_set request handlers

Solo en configuraciones específicasParche disponible
Descargar PNG JSON
CVSS 3.1
7.5
Alta
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H Fuente: CNA
6.8NVD · CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:H
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión0.13.0-beta3
Exposición1.117 dDesde la divulgación, 30 oct 2023, 5:38 p. m.
Detección1.099 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
Remediación
Monitoreo
Detectada
Fuente: OSV +1
30 oct 23
2 ago 24
3 nov 26
18 nov 26
21 nov 26
30 oct 23
5 ago 24
11 may 25
14 feb 26
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2023-45670 divulgada · CVSS 7.5 (CNA)
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Verificada Última verificación contra las fuentes
Resumen

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.

Affects Frigate up to and including 0.12.1 and versions before 0.13.0 Beta 3 when publicly exposed to the internet, even with authentication. Fixed in 0.13.0 Beta 3.

¿Qué significa?The config_save and config_set request handlers in Frigate are vulnerable to cross-site request forgery, so a request sent from another site can change Frigate's configuration. The advisory says this can lead to arbitrary configuration updates, resulting in denial of service and possible data exfiltration.
¿Quién está afectado?Frigate versions up to and including 0.12.1, and versions before 0.13.0 Beta 3, are in the affected range. The stated setup is a Frigate instance publicly exposed to the internet, even with authentication, so a reader can check their installed Frigate version and whether their instance is reachable from the internet.
¿Qué hacer?Upgrade Frigate to 0.13.0 Beta 3, which is the fixed version listed for this vulnerability. No vendor patch IDs or workaround are included in the checked facts.
disagreeThe advisory text describes an authenticated vector, while the CVSS vector records no privileges required (PR:N). The sources therefore differ on whether authentication is needed to exploit the issue.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Frigate versions up to and including 0.12.1, and versions before 0.13.0 Beta 3“<= v0.12.1, < v0.13.0 Beta 3”
02
Frigate publicly exposed to the internet, even with authentication“Frigate publicly exposed to the internet (even with authentication)”
¿Quién debe revisar?Teams running Frigate NVR up to 0.12.1 or 0.13.0 Beta 1-2, especially none; includes any Frigate instance exposed to the internet
Discrepancias entre fuentesdescription-says-authenticated-vector-says-PR:N
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:H
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:R
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
5.9/ 10Medio
Vector 5.9 (moderada) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida
frigate< 0.13.0-beta3
0.13.0-beta3
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
frigate
Corregida 0.13.0-beta3 — —
Versiones corregidas0.13.0-beta3
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/blakeblackshear/frigate/security/advisories/GHSA-xq49-hv88-jr6h
Otrahttps://about.gitlab.com/blog/2021/09/07/why-are-developers-vulnerable-to-driveby-attacks/
Otrahttps://github.com/blakeblackshear/frigate/blob/5658e5a4cc7376504af9de5e1eff178939a13e7f/frigate/http.py#L1060
Otrahttps://github.com/blakeblackshear/frigate/blob/6aedc39a9a421cf48000a727f36b4c1495848a1d/frigate/http.py#L998
Otrahttps://github.com/blakeblackshear/frigate/discussions/8366
Otrahttps://securitylab.github.com/advisories/GHSL-2023-190_Frigate/

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.