CVE-2025-55202
JSON

2.7low

Opencast has a partial path traversal vulnerability in UI config

Severity
2.7low CVSS:4.0 by GitHub_M
Exploit likelihood
0.46% (higher than 41% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-hq8m-v68g-8cf8

Description

Opencast is a free, open-source platform to support the management of educational audio and video content. In version 18.0 and versions before 17.7, the protections against path traversal attacks in the UI config module are insufficient, still partially allowing for attacks in very specific cases. The path is checked without checking for the file separator. This could allow attackers access to files within another folder which starts with the same path. This issue has been fixed in versions 17.7 and 18.1. To mitigate this issue, check for folders that start with the same path as the ui-config folder.

Affected

Product or packageVersionsReported by
opencast opencast< 17.7, = 18.0CVE List
org.opencastproject:opencast-user-interface-configuration (Maven)before 17.7, from 18.0 before 18.1GitHub Advisory Database
apereo opencastbefore 17.7, 18.0NVD

All scores

GitHub_M2.7low CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U
GitHublow CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Classification

CWE-23

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Opencast is a free, open-source platform to support the management of educational audio and video content. In version 18.0 and versions before 17.7, the protections against path traversal attacks in the UI config module are insufficient, still partially allowing for attacks in very specific cases. The path is checked without checking for the file separator. This could allow attackers access to files within another folder which starts with the same path. This issue has been fixed in versions 17.7 and 18.1. To mitigate this issue, check for folders that start with the same path as the ui-config folder.

GitHub Advisory Database

The protections against path traversal attacks in the UI config module are insufficient, still partially allowing for attacks in very specific cases.

The path is checked without checking for the file separator. This could allow attackers access to files within another folder which starts with the same path. For example, the default UI config directory is placed at /etc/opencast/ui-config. Without this patch, an attacker can get access to files in a folder /etc/opencast/ui-config-hidden if those files are readable by Opencast.

General path traversal is not possible. For example, an attacker cannot exploit this to access files in /etc/opencast/encoding or even in /etc/opencast/ directly.

How dangerous is this?

Theoretically, this vulnerability may be exploited to get access to some non-public files. However, given the default structure of Opencast's configuration, this is extremely unlikely to hit any users. There can be but one ui-config folders. This makes it quite unlikely for any user to have created an additional folder starting with ui-config. Users could also rename this folder, but since there is no real reason for anyone to do this, this, again is extremely unlikely to trigger this issue.

How to fix the issue
NVD (es)

Opencast es una plataforma gratuita de código abierto para apoyar la gestión de contenido educativo de audio y video. En la versión 18.0 y versiones anteriores a la 17.7, las protecciones contra ataques de salto de ruta en el módulo UI config son insuficientes, aún permitiendo parcialmente ataques en casos muy específicos. La ruta se verifica sin verificar el separador de archivos. Esto podría permitir a los atacantes acceder a archivos dentro de otra carpeta que comienza con la misma ruta. Este problema ha sido solucionado en las versiones 17.7 y 18.1. Para mitigar este problema, verifique las carpetas que comienzan con la misma ruta que la carpeta 'ui-config'.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-55202 changed 2025-08-29CVE Terms of Use
GitHub Advisory DatabaseGHSA-hq8m-v68g-8cf8 changed 2025-08-29CC-BY-4.0
NVDCVE-2025-55202 changed 2026-10-19Public domain