Earlier quoted context omitted.
Yes. They don't want you to be able to poke around but the real security boundary is the VM, not the database server.
Back when there was a critical Azure bug that enabled an Azure user to gain access to top-level keys (i.e. the keys to the entire kingdom), a Google engineer commented on an HN thread that Google specifically didn't consider container boundaries secure, so everything is always tied to a VM specific to a customer. The issue with Azure is that a container escape allowed a user to take over the entire Azure subsystem.
GCP CloudSQL Vulnerability Leads to Internal Container Access and Data Exposure
41–50 of 54 posts
Re: GCP CloudSQL Vulnerability Leads to Internal Container Access and Data Exposure
#42Isn’t the blur effect too light on the screenshots? I may be possible to recompute the /etc/shadow file.
Re: GCP CloudSQL Vulnerability Leads to Internal Container Access and Data Exposure
#43Earlier quoted context omitted.
I'm going to guess that this VM was considered the 'customers' VM as far as security goes... Ie. you couldn't access any other customers data. Likewise, GCP Dataflow quite trivially allows you to escape onto the worker machines and take the (huge) binaries that implement it. They have some really nice detailed status pages!
I was part of GCP Cloud Dataflow team a few years ago. The status page is actually the standard for all google internal services (/statusz). I still miss them much. In dataflow's case, container is not treated as the boundary. And there are several important things to note: - Dataflow's VMs are in customer projects, so there's no risk of cross-tenant access. - When launching dataflow jobs, the launcher identity is ch…
Re: GCP CloudSQL Vulnerability Leads to Internal Container Access and Data Exposure
#44So this blog post is missing any information about what the actual vulnerabilities were. What was the "gap"? What was the misconfiguration? Also missing is whether access to the host VM exposes meaningful secrets. Does this actually risk customers' sensitive data?
Yeah this was terrible. First, we did a privilege escalation. How? They don't say. Next, we did another privilege escalation. And how?? They don't say. what's the point of this
Re: GCP CloudSQL Vulnerability Leads to Internal Container Access and Data Exposure
#45Isn’t the blur effect too light on the screenshots? I may be possible to recompute the /etc/shadow file.
And what would that accomplish? Knowing the contents of /etc/shadow of a random (virtual) machine that belonged to someone else that you could not access, one that most likely already ceased to exist.
Re: GCP CloudSQL Vulnerability Leads to Internal Container Access and Data Exposure
#46Earlier quoted context omitted.
Yeah this was terrible. First, we did a privilege escalation. How? They don't say. Next, we did another privilege escalation. And how?? They don't say. what's the point of this
Also no details about what severity the vulnerability was assessed as. For all we know they got a $10 Play Store voucher because the security boundary is the VM, and SQL customers are already paying for the VM and the rest is convenience so they are considered to be hacking themselves here. Reading this was a waste of time.
Re: GCP CloudSQL Vulnerability Leads to Internal Container Access and Data Exposure
#47Last time I checked, their hosted databases run in dedicated VMs, which is where the real security boundary is. Getting access to the host OS won't give you much other than some internal binaries and config.
I was part of the Cloud SQL team when putting databases in VMs was designed (previously the MySQL process was run in a sandbox). I am sure Cloud SQL is far more advanced since then (9 years ago), but security in depth was something we thought about a lot. Running in a VM for each database rather than a multi-tenant system was for security more than anything else. We could have multi-tenanted just as easily implementa…
This would never fly at Amazon because it would cost them a few cents to have anorher VM. Microsoft would probably not even notice the issue.
Re: GCP CloudSQL Vulnerability Leads to Internal Container Access and Data Exposure
#48Earlier quoted context omitted.
Also no details about what severity the vulnerability was assessed as. For all we know they got a $10 Play Store voucher because the security boundary is the VM, and SQL customers are already paying for the VM and the rest is convenience so they are considered to be hacking themselves here. Reading this was a waste of time.
There's a big fat NDA attached to the reward.
Re: GCP CloudSQL Vulnerability Leads to Internal Container Access and Data Exposure
#49Earlier quoted context omitted.
I was part of the Cloud SQL team when putting databases in VMs was designed (previously the MySQL process was run in a sandbox). I am sure Cloud SQL is far more advanced since then (9 years ago), but security in depth was something we thought about a lot. Running in a VM for each database rather than a multi-tenant system was for security more than anything else. We could have multi-tenanted just as easily implementa…
Not a huge fan of Google, but I have always admired how they prioritise security. This would never fly at Amazon because it would cost them a few cents to have anorher VM. Microsoft would probably not even notice the issue.
Re: GCP CloudSQL Vulnerability Leads to Internal Container Access and Data Exposure
#50Earlier quoted context omitted.
Yes. They don't want you to be able to poke around but the real security boundary is the VM, not the database server.
Back when there was a critical Azure bug that enabled an Azure user to gain access to top-level keys (i.e. the keys to the entire kingdom), a Google engineer commented on an HN thread that Google specifically didn't consider container boundaries secure, so everything is always tied to a VM specific to a customer. The issue with Azure is that a container escape allowed a user to take over the entire Azure subsystem.
There's two types of cloud providers, the ones who take security seriously and the ones who learn security the hard, public way.
I'm a bit surprised that Azure would get lumped in with the other cut-rate providers but that's becoming more and more obvious with the vulnerabilities of the past few years.