CVE-2025-54066
JSON

4.7medium

DiracX-Web login page has Open Redirect vulnerability

Severity
4.7medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.41% (higher than 37% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-hfj7-542q-8fvv

Description

DiracX-Web is a web application that provides an interface to interact with the DiracX services. Prior to version 0.1.0-a8, an attacker can forge a request that they can pass to redirect an authenticated user to another arbitrary website. In the login page, DiracX-Web has a `redirect` field which is the location where the server will redirect the user. This URI is not verified, and can be an arbitrary URI. Paired with a parameter pollution, an attacker can hide their malicious URI. This could be used for phishing, and extract new data (such as redirecting to a new "log in" page, and asking another time credentials). Version 0.1.0-a8 fixes this vulnerability.

Affected

Product or packageVersionsReported by
DIRACGrid diracx-web< 0.1.0-a8CVE List
@dirac-grid/diracx-web-components (npm)before 0.1.0-a8GitHub Advisory Database

All scores

GitHub_M4.7medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N
GitHub4.7medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N

Classification

CWE-601

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

What each source says

CVE List

DiracX-Web is a web application that provides an interface to interact with the DiracX services. Prior to version 0.1.0-a8, an attacker can forge a request that they can pass to redirect an authenticated user to another arbitrary website. In the login page, DiracX-Web has a `redirect` field which is the location where the server will redirect the user. This URI is not verified, and can be an arbitrary URI. Paired with a parameter pollution, an attacker can hide their malicious URI. This could be used for phishing, and extract new data (such as redirecting to a new "log in" page, and asking another time credentials). Version 0.1.0-a8 fixes this vulnerability.

GitHub Advisory Database
Summary

An attacker can forge a request to redirect an authenticated user to any arbitrary website.

Details

On the login page, we have a redirect field which is the location where the server will redirect the user. This URI is not verified, and can be an arbitrary URI.

Paired with a parameter pollution, we can hide our malicious URI (ex: https://dns.com/?param1=im_hidden_if_theres_lot_of_args?param1=bbb).

PoC

https://diracx-cert.app.cern.ch/auth?redirect=https://ipcim.com/en/where/?dsdsd=qsqsfsjfnsfniizaeiaapzqlalkqkaizqqijsjaopmqmxna?redirect=https://diracx-cert-app.cern.ch/auth

This POC can leak user's position.

Impact

This could be used for phishing and extracting new data (such as redirecting to a new "log in" page, and asking users to reenter credentials).

NVD (es)

DiracX-Web es una aplicación web que proporciona una interfaz para interactuar con los servicios de DiracX. En versiones anteriores a la 0.1.0-a8, un atacante podía falsificar una solicitud para redirigir a un usuario autenticado a otro sitio web arbitrario. En la página de inicio de sesión, DiracX-Web incluye un campo "redirect", que indica la ubicación a la que el servidor redirigirá al usuario. Esta URI no está verificada y puede ser arbitraria. Junto con la contaminación de parámetros, un atacante puede ocultar su URI maliciosa. Esto podría utilizarse para phishing y extraer nuevos datos (como redirigir a una nueva página de inicio de sesión y solicitar credenciales en otro momento). La versión 0.1.0-a8 corrige esta vulnerabilidad.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-54066 changed 2025-07-17CVE Terms of Use
GitHub Advisory DatabaseGHSA-hfj7-542q-8fvv changed 2025-07-17CC-BY-4.0
NVDCVE-2025-54066 changed 2026-06-17Public domain