cms-dev / cms-dev/cms

cmsAddAdmin shouldn't log the password if it was provided by the user

Open
#1,160 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug cli
Dominant language
Python
Stars
1k
Forks
412
Avg merge
6d 10h
Merged PRs (30d)
3

Description

1.file: cms/cmscontrib/AddAdmin.py
function:add_admin
Log information disclosure username and password

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open cms/cmscontrib/AddAdmin.py and inspect the add_admin function's logging around password handling. Confirm which user-provided password values reach the log, then adjust the behavior so the password is not disclosed; verify the resulting logs no longer contain it.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
security
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.