Security: Authentication token and webhook secrets exposed via command-line arguments #5
Labels
No labels
blocked:gate-research
bug
feature-request
in-progress
needs-triage
quickfix
security/medium
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/vikunja-cli#5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: Medium
Both the auth token and webhook secrets are passed as CLI arguments, making them visible to any user who can run
ps auxor inspect/proc/at the moment the command is running.Locations:
auth_commands.py:18-19:--api-urland--tokenforauth loginproject_commands.py:136:--secretfor webhook creationImpact:
Fix:
auth login, read the token from stdin or a file descriptor instead of a CLI flag--secretfrom a file or env var, or mask in help textExample of the problem:
Fixed in commit. Closing.