News for hackers. Stuff that matters.
Re:Hacker deleted all of NewsBlur’s Mongo data and is now ho... by jacquesm on Thursday June 24, 2021 @12:41AM (#27614050)
It says more about Docker than anything else. This is an insane default setting, it's something that should have been fixed when it was first brought to their attention.

Computer security is hard enough without loaded footguns like these lying around.

Re:Hacker deleted all of NewsBlur’s Mongo data and is now ho... by beermonster on Thursday June 24, 2021 @12:44AM (#27614066)
Debian has no firewall rules by default. Up until recently also home directory permissions that were not good for multi user systems. Both by design.

Defaults are often insecure but maximise interoperability or general usability. Look at Windows !

Re:Hacker deleted all of NewsBlur’s Mongo data and is now ho... by jacquesm on Thursday June 24, 2021 @01:23AM (#27614236)
Yes, Debian - and Ubuntu, for that matter - have some pretty bad defaults in some places. Having users' homedirs UGO rwxr-xr-x is pretty bad.

The defaults should be secure with explicit unlock steps for those that know their environment well enough that they can explicitly relax some restrictions.

Re:Hacker deleted all of NewsBlur’s Mongo data and is now ho... by sdevonoes on Thursday June 24, 2021 @04:28AM (#27615165)
Well, Docker CE comes with a huge Disclaimer of Warranty (https://github.com/docker/docker-ce/blob/master/LICENSE). I don't think we can complain. "I should have tested it before deploying to production" it's the right thing to say.
Re:Hacker deleted all of NewsBlur’s Mongo data and is now ho... by rank0 on Thursday June 24, 2021 @01:35AM (#27614294)
I understand your point but how do you explain the complete absence of database security controls? That part is on Newsblur. Defense in depth is important!
Re:Hacker deleted all of NewsBlur’s Mongo data and is now ho... by jacquesm on Thursday June 24, 2021 @01:48AM (#27614364)
Yes, they absolutely have some culpability, but making a change like this without alerting the administrator of the system is the rough equivalent of any process with 'root' privileges on any one of your servers suddenly executing an iptables command to allow all access. You'd only know about it because you got hacked.

Such drastic changes to the security model should only be one after explicit instruction.

The number of companies that operate without access controls between servers on the same segment is unfortunately quite large, database security controls are - again - more often than not left at their default setting and those too are quite often insecure.

Defense in depth always has limited depth, though I totally agree that running a database without access controls is not the way to go.

Re:Hacker deleted all of NewsBlur’s Mongo data and is now ho... by risyachka on Thursday June 24, 2021 @01:43AM (#27614338)
Docker is a minor part of the issue.

The main problem is lack of basic security.