[Support]: Frigate (standalone) was hacked! Found this in my config file #10348
Replies: 4 comments 7 replies
-
|
Beta Was this translation helpful? Give feedback.
-
Is the separate Ubuntu host exposed to the internet? Is there anything else on that machine? Here are the most likely vectors:
If you have the nginx logs, you would be able to see if the config was modified via the API. |
Beta Was this translation helpful? Give feedback.
-
Yes, sorry. Just figured that out. I’ve got all but 1 working now.
… On Mar 10, 2024, at 5:26 PM, Max Davis ***@***.***> wrote:
Looks like Frigate can’t find your config file. Did you change the directly in which your config file lives, and forget to map it in your docker compose entry?
—
Reply to this email directly, view it on GitHub <#10348 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AXPFZNRFBGVQ5W4IZVP5W73YXSJTFAVCNFSM6AAAAABEOEACRKVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DOMZWGYZTO>.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
-
Thanks to everyone. I have now a working unit with no ports exposed. So the only port I have open on my router is the HA 443 NGINX port. That's correct, right? |
Beta Was this translation helpful? Give feedback.
-
Describe the problem you are having
Checked my Frigate via proxy and most of my cameras weren't working. Checked the config file and found this instead. I'm running via Portainer/Docker on a separate Ubuntu host. I've changed all the userids/passwords on the cameras, the Portainer login, the Ubuntu host. Not sure where they would have gotten in.
Everything is shutdown at the moment. Trying to get an idea if they came from the HA into the Proxy Add-On, directly into the server somehow, through Portainer, etc.
Is this a common problem?
Anyone else have this happen?
Since I'm using the proxy add-on, do I even need these ports open? I use Frigate cards in my Lovelace and also have the UI in the sidebar. Don't really go directly to the Frigate server at all.
Appreciate any support, links to locking down the system, etc.
Version
0.13.2
Frigate config file
Relevant log output
FFprobe output from your camera
Frigate stats
No response
Operating system
Debian
Install method
Docker Compose
Coral version
USB
Network connection
Wired
Camera make and model
N/a
Any other information that may be helpful
Here is my Portainer stack:
services:
frigate:
container_name: frigate
privileged: true # this may not be necessary for all setups
restart: unless-stopped
image: ghcr.io/blakeblackshear/frigate:stable
shm_size: "256mb" # update for your cameras based on calculation above
devices:
- /dev/bus/usb:/dev/bus/usb # passes the USB Coral, needs to be modified for other versions
- /dev/dri/renderD128 # for intel hwaccel, needs to be updated for your hardware
volumes:
- /etc/localtime:/etc/localtime:ro
- /home/frank/frigate/:/config
- /mnt/sdb/frigate:/media/frigate
- type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
target: /tmp/cache
tmpfs:
size: 1000000000
ports:
- "5000:5000"
- "8554:8554"
- "8555:8555/tcp"
- "8555:8555/udp"
environment:
FRIGATE_RTSP_PASSWORD: "password" #modify to whatever if using rtsp
TZ: "Europe/Berlin"
Beta Was this translation helpful? Give feedback.
All reactions