-
Notifications
You must be signed in to change notification settings - Fork 58
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
[security] overwrite any file on the bmc with updateViaTftp #133
Comments
We plan to get rid of download_manager.py in its current form. I'll look and see if there is an easy way to clean this up now though. |
just get basename for filename in: |
Once we get the new TFTP server in we should disable the one from skeleton. When that happens this issue can be closed. We are ensuring the new TFTP server does not have this issue. |
Issue moved to openbmc/openbmc #1898 via ZenHub |
https://gerrit.openbmc-project.xyz/#/c/7117/ fixed this |
I've found a security hole that allows to override any bmc file via updateViaTftp command:
This will override /etc/shadow on the bmc with the user's content from "etc/shadow" on tftp server.
Before exploiting:
Here is a part of strace log from /usr/sbin/download_manager.py process:
After upload:
The text was updated successfully, but these errors were encountered: