News for hackers. Stuff that matters.
Re:I discovered thousands of open databases on AWS by jeroenhd on Tuesday March 15, 2022 @03:56AM (#30682701)
I used to think you have to be pretty good af your job to get trusted to deploy stuff to the cloud for even medium sized companies. As these articles keep reminding me, you only need to fake competence to management to get the green light.

Even if you forget that the cloud is the internet and that the entire internet can reach you over the internet, it doesn't take a genius to set up a password for a cloud service. I have no idea how many of these databases are honey pots, but finding open and vulnerable servers is depressingly simple.

I suppose it's kind of liberating to know that you can be dumb enough to fling patient data into an unprotected cloud server and still get a job in IT. The bar is really set that low.

Re:I discovered thousands of open databases on AWS by mettamage on Tuesday March 15, 2022 @04:49AM (#30683019)
> As these articles keep reminding me, you only need to fake competence to management to get the green light.

Well, managers aren't scientists looking for truth. They are people running businesses that need to stay afloat and get stuff done. There's a lot of wiggle room there, mostly due to time pressure (from a charitable perspective, less charitable: also because of company politics).

Re:I discovered thousands of open databases on AWS by grumple on Tuesday March 15, 2022 @09:52AM (#30685244)
Yikes. I can't believe this and the responses all agree.

There are two things at play here:

The reality of what happens is that devs with limited experience are asked to do things far outside their comfort zone because they aren't staffed enough. This isn't on the dev, it's on the company and a reality when it comes to growth. People make mistakes.

The second thing is that the databases themselves should be secure by default but are not. That's on the developers of that software. DBs should require setting strong passwords on creation.

Aws should also warn users about exposing these services directly to the outside world instead of just within the vpc.

Re:I discovered thousands of open databases on AWS by ghaff on Tuesday March 15, 2022 @10:13AM (#30685538)
>People make mistakes.

It's as simple as that. And at scale, it adds up to a lot of mistakes.

And for better or worse, much of the tech industry does not require extensive certification and training with checking and rechecking of every step. (And even aerospace makes mistakes.)

And, yes, junior people make even more mistakes. But I'm not sure the fix to that is to have junior people's every action be check and rechecked by a more senior person. It can be done. That's generally how things work in medicine for example. Along with stringent certifications. But I'm not sure how many people in tech would want that. It's a reasonable discussion to have. Maybe training wheels are taken off too early in many cases.

Re:I discovered thousands of open databases on AWS by hutzlibu on Tuesday March 15, 2022 @06:39AM (#30683729)
"I suppose it's kind of liberating to know that you can be dumb enough to fling patient data into an unprotected cloud server and still get a job in IT. The bar is really set that low."

On the other hand, I would argue that there are way too many footguns hidden everywhere, like the default binding of docker mentioned here. So yes, a highly skilled IT security professional knows them all, but they are rare. And I think it should be possible to set things up securely in a straight forward way, for people with their speciality in other areas, of which there are plenty.

Re:I discovered thousands of open databases on AWS by willcipriano on Tuesday March 15, 2022 @08:09AM (#30684323)
I don't know how you idiot proof a Turing complete language, but I don't imagine it would be much of a pleasure to use for non-idiots.

If networking 101 is a foot gun to you, I don't think you know enough to be responsible for anything important. I don't think there is a software fix for that lack of knowledge.

Re:I discovered thousands of open databases on AWS by c0balt on Tuesday March 15, 2022 @08:39AM (#30684514)
Isn't the first point a goal of most "no-code" solutions? Sure, you can most likely still infinite loop but it is a far easier to not screw up compared to "normal" programming.
Re:I discovered thousands of open databases on AWS by mushyhammer on Tuesday March 15, 2022 @05:38AM (#30683353)
> you only need to fake competence to management

With so many 10x full-stack developers who're just looking to get sh done and clock out, it can't be otherwise. If managing a server becomes just another bullet point in a developer job, this is exactly what we get.

Sure I can deploy stuff, but you shouldn't trust me. Unfortunately many are not so honest or even aware of the complexity (unknown unknowns).

Re:I discovered thousands of open databases on AWS by mtberatwork on Tuesday March 15, 2022 @07:31AM (#30684058)
> If managing a server becomes just another bullet point in a developer job, this is exactly what we get.

Yup...the same management are the ones that laid off the DBAs, system admins, network engineers, etc because "the cloud" hand waves all this stuff away now.

Re:I discovered thousands of open databases on AWS by thefunnyman on Wednesday March 16, 2022 @05:32PM (#30704367)
I work for a large cloud provider and it’s even worse than you imagine because this same thing has happened to us. I don’t work on cloud, but we use cloud internally for our other products and devs on those teams are expected to manage all of this themselves with little guidance. We have no dedicated ops or infra person on my team. Everyone is just considered a generic software engineer. This wasn’t always the case until the recent push for devs to own all parts of the stack.
Re:I discovered thousands of open databases on AWS by tokumei on Tuesday March 15, 2022 @09:07AM (#30684737)
Also, all databases and app servers should be private, accessed by a bastion server. The only thing the outside should be able to reach are the load balancers/reverse proxies.
Re:I discovered thousands of open databases on AWS by nouveaux on Tuesday March 15, 2022 @10:10AM (#30685495)
"it doesn't take a genius to set up a password for a cloud service."

Where are you going to store the password?

I'm not saying it's rocket science but it does take consideration. Do you store it in a plain text file on the server? How do you deal with CI/CD? Do you run a separate service for one credential?

Re:I discovered thousands of open databases on AWS by ThrashBeard on Tuesday March 15, 2022 @10:18AM (#30685616)
Really simple solutions.

AWS itself has a Secrets Manager from which other authorized services can pull secrets. If it's an outside CI/CD platform then those usually also have a place to store credentials.

Re:I discovered thousands of open databases on AWS by nouveaux on Tuesday March 15, 2022 @07:09PM (#30693156)
I agree that this would be a good solution. I'm merely bringing up that it takes consideration. Also someone will need to learn the Secrets Manager and also learn credentials management for CI/CD. It's probably at least a day of work if you're not familiar with it.

Don't get me wrong. I don't think anyone should skip this step. You need auth for your datastores.

Re:I discovered thousands of open databases on AWS by blitzar on Tuesday March 15, 2022 @07:55AM (#30684227)
> I used to think you have to be pretty good at your job ...

I didnt need to get beyond there to see when you went wrong, and the bar for competence is not high across the board. Sadly I havent found a way to make money out of it, but you have to be aware of it to navigate the world safely.