8.7high
AzuraCast through 0.23.8 Liquidsoap Configuration Write via Profile Edit Serialization Group Bypass
- Severity
- 8.7high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.57% (higher than 41% of CVEs)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
AzuraCast exposes the Liquidsoap custom configuration fields through an endpoint that does not require the permission guarding them. The backend_config property in backend/src/Entity/Station.php is annotated with GROUP_GENERAL, and PUT /api/station/{station_id}/profile/edit in backend/src/Controller/Api/Stations/ProfileEditController.php deserializes with that group while requiring only StationPermissions::Profile. AbstractArrayEntity::fromArray() then assigns every public property with no field-level permission check, so custom_config_top, custom_config, custom_config_pre_playlists, custom_config_pre_live, custom_config_pre_fade and custom_config_bottom are writable through it. ConfigWriter::writeCustomConfigurationSection() emits those values verbatim into the generated Liquidsoap .liq script, where the process.run() and process.exec() built-ins execute operating system commands when the backend restarts, which the built-in sync task triggers automatically once needs_restart is set. The dedicated endpoint for the same data, PUT /api/station/{id}/liquidsoap-config, requires StationPermissions::Broadcasting, so a station manager holding only the profile permission reaches configuration that the intended boundary reserves for broadcasting operators.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| AzuraCast AzuraCast | up to 0.23.8 | CVE List |
All scores
| VulnCheck | 8.7high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| VulnCheck | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
AzuraCast exposes the Liquidsoap custom configuration fields through an endpoint that does not require the permission guarding them. The backend_config property in backend/src/Entity/Station.php is annotated with GROUP_GENERAL, and PUT /api/station/{station_id}/profile/edit in backend/src/Controller/Api/Stations/ProfileEditController.php deserializes with that group while requiring only StationPermissions::Profile. AbstractArrayEntity::fromArray() then assigns every public property with no field-level permission check, so custom_config_top, custom_config, custom_config_pre_playlists, custom_config_pre_live, custom_config_pre_fade and custom_config_bottom are writable through it. ConfigWriter::writeCustomConfigurationSection() emits those values verbatim into the generated Liquidsoap .liq script, where the process.run() and process.exec() built-ins execute operating system commands when the backend restarts, which the built-in sync task triggers automatically once needs_restart is set. The dedicated endpoint for the same data, PUT /api/station/{id}/liquidsoap-config, requires StationPermissions::Broadcasting, so a station manager holding only the profile permission reaches configuration that the intended boundary reserves for broadcasting operators.
NVD (es)
AzuraCast expone los campos de configuración personalizados de Liquidsoap a través de un endpoint que no requiere el permiso que los protege. La propiedad backend_config en backend/src/Entity/Station.php está anotada con GROUP_GENERAL, y PUT /API/station/{station_id}/profile/edit en backend/src/Controller/Api/Stations/ProfileEditController.php deserializa con ese grupo mientras que requiere solo StationPermissions::Profile. AbstractArrayEntity::fromArray() luego asigna cada propiedad pública sin una verificación de permiso a nivel de campo, por lo que custom_config_top, custom_config, custom_config_pre_playlists, custom_config_pre_live, custom_config_pre_fade y custom_config_bottom son escribibles a través de él. ConfigWriter::writeCustomConfigurationSection() emite esos valores textualmente en el script .liq de Liquidsoap generado, donde las funciones integradas process.run() y process.exec() ejecutan comandos del sistema operativo cuyo el backend se reinicia, lo cual la tarea de sincronización integrada activa automáticamente una vez que needs_restart está establecido. El endpoint dedicado para los mismos datos, PUT /API/station/{id}/liquidsoap-config, requiere StationPermissions::Broadcasting, por lo que un administrador de estación que posee solo el permiso de perfil alcanza una configuración que el límite previsto reserva para operadores de transmisión.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-76836 changed 2026-08-29 | CVE Terms of Use |
| NVD | CVE-2026-76836 changed 2026-10-13 | Public domain |