Impact
The common Rucio helm-charts for the rucio-server, rucio-ui, and rucio-webui define the log format for the apache access log of these components. The X-Rucio-Auth-Token, which is part of each request header sent to Rucio, is part of this log format. Thus, each access log line potentially exposes the credentials (Internal Rucio token, or JWT in case of OIDC authentication) of the user.
Due to the length of the token (Especially for a JWT) the tokens are often truncated, and thus not usable as credential; nevertheless, the (partial) credential should not be part of the logfile.
The impact of this issue is amplified if the access logs are made available to a larger group of people than the instance administrators themselves.
Patches
An updated release has been supplied for the rucio-server, rucio-ui and rucio-webui helm-chart. The change was also retrofitted for the currently supported Rucio LTS releases. The patched versions are:
- rucio-server: 37.0.2, 35.0.1, 32.0.1
- rucio-ui: 37.0.4, 35.0.1, 32.0.2
- rucio-webui: 37.0.2, 35.1.1, 32.0.1
Workarounds
Updating the logFormat variable and removing the X-Rucio-Auth-Token is possible as well.
Impact
The common Rucio helm-charts for the
rucio-server,rucio-ui, andrucio-webuidefine the log format for the apache access log of these components. TheX-Rucio-Auth-Token, which is part of each request header sent to Rucio, is part of this log format. Thus, each access log line potentially exposes the credentials (Internal Rucio token, or JWT in case of OIDC authentication) of the user.Due to the length of the token (Especially for a JWT) the tokens are often truncated, and thus not usable as credential; nevertheless, the (partial) credential should not be part of the logfile.
The impact of this issue is amplified if the access logs are made available to a larger group of people than the instance administrators themselves.
Patches
An updated release has been supplied for the
rucio-server,rucio-uiandrucio-webuihelm-chart. The change was also retrofitted for the currently supported Rucio LTS releases. The patched versions are:Workarounds
Updating the
logFormatvariable and removing theX-Rucio-Auth-Tokenis possible as well.