-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Description
β Have you read and understood the above guidelines?
Yes
π What is the name of the script you are using?
Home Assistant (LXC)
π What was the exact command used to execute the script?
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/homeassistant.sh)"
π Provide a clear and concise description of the issue.
Installing Home Assistant LXC also installs a Portainer instance in that LXC which has no default user/pass configured. The first person to access the instance Portainer webgui can pwn that install as they get to set the admin credentials.
IMO, this seems like a big security risk to leave an open portatiner install on the network . There's no warning(s) to user that portainer now exists and needs to be secured by finishing the portainer setup.
I only happened to find it b/c I copied the wrong URL while trying to open HomeAssistant for the first time.
βοΈ What settings are you using?
- Default Settings
- Advanced Settings
π₯οΈ Which Linux distribution are you using?
Debian 12
π Steps to reproduce the issue.
Run the HA (LXC) install command.
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/homeassistant.sh)"
everything from there is automatic.
Visit the HA url shown after install script completes.
Set admin user/pass on that portainer instance.
β Paste the full error output (if available).
Not an error, script installed successfully. This is a security risk
To mitigate, I'd suggest any of the following
- Do not install portainer.
- Not allow portainer to be access outside the LXC (if possible)
- Finish the portainer setup and secure it with a proper uers/pass either from user prompt or random generated at install time if user never needs to manage/maintain portainer.
