Re:New ‘Meow’ attack has deleted almost 4k unsecured databases
by 1337shadow on Monday July 27, 2020 @12:07AM
(#23962164)
If you have Docker then make sure you have a firewall on top of it, otherwise it will expose pretty much what any docker user wants !
Re:New ‘Meow’ attack has deleted almost 4k unsecured databases
by BrandoElFollito on Monday July 27, 2020 @03:54AM
(#23963049)
What do you mean by that?
Re:New ‘Meow’ attack has deleted almost 4k unsecured databases
by Sebb767 on Monday July 27, 2020 @07:45AM
(#23964151)
Docker uses it's own iptables rules which have priority over the system ones. Therefore, even if you have an iptables-based firewall blocking all ports, a docker service will still be reachable, unless configured not to be in docker itself.
Re:New ‘Meow’ attack has deleted almost 4k unsecured databases
by BrandoElFollito on Monday July 27, 2020 @07:58AM
(#23964241)
I do not understand what you mean by "priority over the system ones"
A docker container can have internal ports exposed explicitly, or use host networking. In any case these are ports exposed by the docker-proxy executable - an executable like any other on the system.
Then come the iptables rules of the system (which open or not data flow to the ports exposed by docker-proxy).
Or is it different?
Re:New ‘Meow’ attack has deleted almost 4k unsecured databases
by BrandoElFollito on Monday July 27, 2020 @08:03AM
(#23964269)
Ah, now I get what you mean - that entries such as
ACCEPT tcp -- anywhere 172.19.0.10 tcp dpt:8843
are created by docker, independently from the configuration of iptables themselves.
Re:New ‘Meow’ attack has deleted almost 4k unsecured databases
by Sebb767 on Tuesday July 28, 2020 @05:48AM
(#23974046)
Taking precedence was not the ideal word - it uses the same ip tables, but it inserts its own table as the first one. Therefore it 'ignores' system rules, which might come at a surprise.
Consider if this happened five years ago, it would have had a smaller cost than happening today. And it was probably going to happen at some point, so better that it happened five years ago than today. By the same argument, better that it happened now than at any point in the future.
I'm not sure how serious I am about this argument but...at least a little bit? I guess the alternative argument is that any day now software vendors would have all moved to secure-by-default platforms where deploying a world-writable Redis in production would have been so difficult that it rarely happened.