Advisory

GHSA-hfj7-542q-8fvv

Also known as: CVE-2025-54066

Summary

DiracX-Web is vulnerable to attack through an Open Redirect on its login page

Details

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).

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-07-17 19:40 UTC
Modified
2025-07-17 20:12 UTC

Affected packages and fixes

@dirac-grid/diracx-web-components

npm · All systems

Affected

  • introduced 0, fixed 0.1.0-a8 (semver)

Fixed versions

0.1.0-a8

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences