News for hackers. Stuff that matters.
Re:Hacker deleted all of NewsBlur’s Mongo data and is now ho... by kortilla on Thursday June 24, 2021 @03:21AM (#27614800)
> 2. Use real authentication rather than network firewalling.

This is in vogue but it’s wrong because it presents this as an either/or.

In reality, people are going to goof up and auth flag at one point, accidentally bind a service, or just run a service with a 0-day (a.k.a everyone).

There is no reason to run a server accepting traffic from every IP if your clients are coming from known ranges.

People see the zero trust model and mistakenly think it means no network-level filtering. This is completely wrong and all of the big players still protect backend services with network ACLs on top of required auth.

Re:Hacker deleted all of NewsBlur’s Mongo data and is now ho... by lmm on Thursday June 24, 2021 @03:43AM (#27614935)
In reality time and attention are limited resources. Does network-level filtering have a good RoI relative to putting the same effort into improving security at the service level? IMO no (at least not until you've reached a very high level of service security where you're hitting severely diminishing returns) - network-level security is necessarily at least one of a) crude b) complex enough that it becomes an attack surface itself - though reasonable people can disagree.
Re:Hacker deleted all of NewsBlur’s Mongo data and is now ho... by unionpivo on Thursday June 24, 2021 @04:02AM (#27615035)
You are looking it as a network level filtering.

I am looking at, make private network, and then you have to explicitly add an gateway (usually a load balancer) that can access it.

In short don't design system where you need to filter, design the system, where you need to take explicite action, to make something public.

This is easily, done on something like AWS.

Re:Hacker deleted all of NewsBlur’s Mongo data and is now ho... by lmm on Thursday June 24, 2021 @08:14PM (#27625590)
The very concept of a "private network" leads you down the path of making a security boundary that has far too large a surface area, IME. Either it becomes a big bag with all your hosts in it, and you write systems that trust all the requests they get (even if you know you "shouldn't") because you know only your systems are on the network, and then an attacker figures out how to make one of your systems make an arbitrary request and you get owned. Or you put each component on its own private network but then you have to open up every port you're actually listening on so that your components can talk to each other (and you probably automate that in your kubernetes/puppet/whatever setup, like what happened here with docker) and the private network does nothing.
Re:Hacker deleted all of NewsBlur’s Mongo data and is now ho... by lima on Thursday June 24, 2021 @12:02PM (#27619546)
An independent firewall accomplishes the same even if every server has a public IP.