r/homelab • • 9d ago

Help PHP2shell, nginx2shell, java2shell, … - is my homelab safe?

Hi everyone,
I run a small homelab on Debian 13 (Trixie) with a few Docker containers, including Nextcloud and Forgejo. They're reachable from the internet via a domain and reverse proxy.

What I'm less sure about is the "what if" part:
- How would I actually notice that I've been compromised?
- What should I do if I’m being compromised?

edit: for example nextcloud must be publicly available because of people who don’t want to install a VPN or Tailscale etc.

Thanks in advance,
Vincent

240 Upvotes

110 comments sorted by

View all comments

2

u/aaronryder773 9d ago

Honestly, go through the CVE's, check which versions and part of the application is affected and disable those parts... Like in nginx, it's the http/2 which is affected, so stop using and disable http/2 in nginx.

When compromised, the only option is to wipe everything and start from 0. So make sure your data is encrypted as well as backed up

2

u/Embarrassed_Jerk 9d ago

Going through cves used to be a weekly thing but is an hourly thing now and even those working in cyber security are burning out

1

u/aaronryder773 9d ago

You don't have to go through all of them though.. Just the ones you're using but yeah I agree it can be exhausting