hitachi and OEM : output REST API token

Bug #2040966 reported by Atsushi Kawai
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Unassigned
OpenStack Security Advisory
Won't Fix
Undecided
Unassigned

Bug Description

When accessing REST API server for Hitachi, NEC V or HPE XP storages,
following two user authorization ways are existing:

- when generating a session: authorization by ID and password
- after generating the session : authorization by a token

The token is generated when generating a session, and it is valid until the session is discarded.

The bug is that the token is output to log file with DEBUG=true
on Hitachi, HPE XP and NEC V cinder drivers.
It's a security risk.

[workaround]
set ``debug = False`` in DEAULT section on cinder.conf

Tags: security
description: updated
description: updated
Revision history for this message
Jeremy Stanley (fungi) wrote :

Thanks for reporting this!

According to the OpenStack Vulnerability Management Team's Report Taxonomy, leaks of sensitive information into logs at debug logging level are handled as security hardening opportunities (Class B3), and can be discussed and fixed in public. No security advisory will be issued, though if anyone feels a security note about this is warranted they're free to submit one.

https://security.openstack.org/vmt-process.html#report-taxonomy

information type: Private Security → Public
tags: added: security
Changed in ossa:
status: New → Won't Fix
Revision history for this message
Atsushi Kawai (atsushi-kawai-bu) wrote :
Changed in cinder:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.opendev.org/c/openstack/cinder/+/899113
Committed: https://opendev.org/openstack/cinder/commit/06c3e1aca3d594e0ca798fb9e24775f89466704a
Submitter: "Zuul (22348)"
Branch: master

commit 06c3e1aca3d594e0ca798fb9e24775f89466704a
Author: Atsushi Kawai <email address hidden>
Date: Wed Jul 3 16:53:37 2024 +0900

    Hitachi and OEM: masking REST API token on log

    This patch masks the REST API token on log file for security reason.

    Closes-Bug: #2040966
    Change-Id: I5dd0e51e618094ff442308a93466e36d55e4f267

Changed in cinder:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 26.0.0.0rc1

This issue was fixed in the openstack/cinder 26.0.0.0rc1 Epoxy release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.