Bug 32984 - Supply account password not on command line
Supply account password not on command line
Status: REOPENED
Product: UCS
Classification: Unclassified
Component: UDM - CLI
UCS 5.0
All Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
:
: 6361 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-25 17:35 CEST by Philipp Hahn
Modified: 2020-07-05 09:12 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Security Issue
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Security
Max CVSS v3 score: 5.7 (CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2013-10-25 17:35:34 CEST
Similar to Bug #20611 udm-CLI should have a mechanism to specify the new password without it being visible in the process tree output.

# udm create users/user --set password="everybody can see this password in 'ps axwww' output" ...

No everybody knows how to do that with the Python API ...

As bash also saves those lines in its ~/.bash_history file, using HISTIGNORE at least prevents this additional security problem.
Comment 1 Florian Best univentionstaff 2016-09-24 14:56:58 CEST
Still no way to set a password hidden in process list via CLI.
Workaround: use UMC :D
Comment 2 Florian Best univentionstaff 2016-10-13 11:38:59 CEST
*** Bug 6361 has been marked as a duplicate of this bug. ***
Comment 3 Ingo Steuwer univentionstaff 2020-07-03 20:55:38 CEST
This issue has been filed against UCS 4.2.

UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.
Comment 4 Philipp Hahn univentionstaff 2020-07-05 09:12:22 CEST
Happened again,