cmsAddAdmin shouldn't log the password if it was provided by the user
Open
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

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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