News for hackers. Stuff that matters.
Re:It's now possible to find the AWS Account ID for any S3 B... by supriyo-biswas on Monday February 26, 2024 @12:56PM (#39514556)
This is because, I assume, the AWS policy execution has a number of “operators” and “operands”, and in this case, you’re using the StringLike operand on the account ID string.

Anyway, this discussion is a bit amusing to me, since Devops people are discovering side channels[1] now, although other types of side channels such as speculative execution side channels on CPUs (Meltdown, Spectre) already made waves at the time of discovery, and before that we had power analysis[2] and Magnetostriction detection, and constant time cryptography (this one is a field of its own, so I omit references.)

[1] https://en.m.wikipedia.org/wiki/Side-channel_attack [2] https://en.m.wikipedia.org/wiki/Power_analysis

Re:It's now possible to find the AWS Account ID for any S3 B... by paulddraper on Monday February 26, 2024 @03:45PM (#39516577)
> the AWS policy execution has a number of “operators” and “operands”

That is correct.

The IAM condition language is flexible and does not prevent you from doing strange things.

Re:It's now possible to find the AWS Account ID for any S3 B... by jameshart on Monday February 26, 2024 @06:43PM (#39518269)
It’s a consequence of weak typing choices - not an inevitable result of allowing flexibility.

Doing glob matching on account IDs is like doing concatenation with guids, applying a bitshift to a UTF8 string, or running a regex on an integer. It is a nonsensical operation, and - as shown here - results in surprising security properties of the resulting system.

Surprising security properties are an undesirable result in an access control policy language.

Re:It's now possible to find the AWS Account ID for any S3 B... by paulddraper on Monday February 26, 2024 @07:46PM (#39518683)
Of course it's possible to create a more sophisticated system with less possibility for user error.
Re:It's now possible to find the AWS Account ID for any S3 B... by asdfaoeu on Tuesday February 27, 2024 @06:50PM (#39531885)
They have ARN's which include the account which a glob match is useful. Something like "arn:aws:*:*:1234567890:*" is useful but "arn:aws:*:*:1234567*:*" isn't
Re:It's now possible to find the AWS Account ID for any S3 B... by darkwater on Monday February 26, 2024 @05:11PM (#39517332)
> Anyway, this discussion is a bit amusing to me, since Devops people are discovering side channels[1]

We, the DevOps people, already knew about side channel attacks, Spectre and the likes, evaluated the performances hit for the fixes (or alleged fixes), patched our kernel boot params etc etc. We are curious people, just like many here.

Re:It's now possible to find the AWS Account ID for any S3 B... by zer00eyz on Monday February 26, 2024 @07:32PM (#39518611)
Jesus, I have been in tech for 25 years and we're still throwing shit across this divide.

Well we are, if nothing, consistent.

The next nerd who pinches and inch of the coder/ops divide is going to make a billion.

Re:It's now possible to find the AWS Account ID for any S3 B... by staplers on Monday February 26, 2024 @10:10PM (#39519719)
Figma did this for design-dev and is worth about $40 billion.

It's amazing how anything got made considering how disjointed processes used to be.

Re:It's now possible to find the AWS Account ID for any S3 B... by msie on Monday February 26, 2024 @10:27PM (#39519812)
Only worth about 10 billion. But still a lot!
Re:It's now possible to find the AWS Account ID for any S3 B... by staplers on Tuesday February 27, 2024 @10:02PM (#39533427)
The deal was for $20b my mistake.
Re:It's now possible to find the AWS Account ID for any S3 B... by lasean on Saturday March 02, 2024 @11:19AM (#39573530)
The Adobe deal didn't go through. Last publicly hinted valuation was back at ~$10B when employee share buyouts happened in JAN 2024.
Re:It's now possible to find the AWS Account ID for any S3 B... by darkwater on Tuesday February 27, 2024 @03:36AM (#39521612)
¯\_(ツ)_/¯

Not GP, I tried to answer as friendly as possible. Their approach is even more weird given that Security goes really hand in hand with systems infrastructure In any small enough organization, security will be managed by devops/sre. If the org becomes large enough, it will start dedicating people to Security.

Re:It's now possible to find the AWS Account ID for any S3 B... by zer00eyz on Tuesday February 27, 2024 @10:01AM (#39524889)
I didn't think you were wrong I just thought the exchange and its tone was very stereotypical of Developers and Operations (and I was amused). Each being on their side of the fence and only throwing things over the top.

It used to be really bad... "works on my machine", bad deploy instructions etc. We paved a lot of these roads with (really fucking bad) strategies like containers. At some point maybe we will learn to write software that is operationalizable. Projects like tigerbeetle give me hope that this is our next evolution.