News for hackers. Stuff that matters.
Re:SaltStack Mining Attack by tilolebo on Tuesday May 05, 2020 @02:35PM (#23083229)
It's really not.

You also wouldn't expose your database just because it's password-protected?

I bet all these public servers have a firewall running to protect other services.

Shouldn't be hard to include the saltstack port(s) and whitelist the relevant IP addresses.

Also,the main difference with your example is that the clients that connect to webservers and vpns are either not known in advance or don't have static IP addresses.

Re:SaltStack Mining Attack by saltyguy22 on Tuesday May 05, 2020 @03:51PM (#23084142)
You can't really compare Salt to a password protected database. SSH is probably a better comparison as both use public key crypto and plenty of servers are exposed on the internet via it. Its just that salt hasn't been audited as heavily as OpenSSH or other implementations of SSH so its risky exposing Salt to the internet, but I can see why some admins might do that.
Re:SaltStack Mining Attack by Spivak on Tuesday May 05, 2020 @04:05PM (#23084331)
Anyone who's putting their Salt master on the internet is having to deal with clients without fixed addresses. And it's not uncommon to have to deal with clients that aren't known advance which is when autosign scripts are used.

Sans the current CVE this is otherwise a service that is safe to expose to adversarial networks.

Re:SaltStack Mining Attack by tilolebo on Wednesday May 06, 2020 @09:45AM (#23090842)
From Algolia's outage retrospective:

  What we did so far:
  We’ve secured the impacted SaltStack service by updating it and adding additional IP filtering, allowing only our servers to connect to it.

So clearly unrestricted access wasn't a necessity.

I understand it's a pain, I've been running a 1000+ server stack with puppet on a public network and relied on iptables to secure it. But I'd rather cope with the daily iptable rules update than having to fight a 0-day exploit...

Re:SaltStack Mining Attack by lmm on Tuesday May 05, 2020 @09:20PM (#23087008)
I would (and do) expose my database to the internet, because it's properly secured (client certificates rather than just passwords).

I don't run firewalls. If a service doesn't need to be exposed, the port isn't open. Means no worrying about who has access to the wifi (because that's outside the security boundary) and no mucking about with VPNs when accessing remotely.

Re:SaltStack Mining Attack by tilolebo on Wednesday May 06, 2020 @07:23AM (#23089766)
>because it's properly secured

That's what these Saltstack users thought too until this week.

Re:SaltStack Mining Attack by lmm on Wednesday May 06, 2020 @08:08AM (#23090032)
People are saying they used a hand-rolled crypto stack rather than something standard like TLS? That should have been a massive red flag.