Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Potential vulnerability when setting sensitive config ( bash history ) #146

Open
rostilos opened this issue Feb 28, 2025 · 0 comments · May be fixed by #147
Open

Potential vulnerability when setting sensitive config ( bash history ) #146

rostilos opened this issue Feb 28, 2025 · 0 comments · May be fixed by #147

Comments

@rostilos
Copy link

rostilos commented Feb 28, 2025

Issue in ./help/configuration/cli/set-configuration-values.md

bin/magento config:sensitive:set [--scope=“...”] [--scope-code=“...”] path value
In this case I think you should remove value from the command and add it separately via prompt. I.e. remove value from the example, indicating that it can be done, but with a notation that it leaves creds in history ( bash_history ).
Even though this is a minor vulnerability, it's still a vulnerability. It is better not to leave sensetive credentials in any history.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 Ready for Grooming
1 participant