Lurker News
Could there be any link between the two events?

Here is what happened:
Some 600 instances were spawned within 3 hours before AWS flagged it off and sent us a health event. There were numerous domains verified and we could see SES quota increase request was made.
We are still investigating the vulnerability at our end. our initial suspect list has 2 suspects. api key or console access where MFA wasn’t enabled.

Comments (95) 26 threads

Show all comments

Showing thread 3 of 26

sousastep6 replies#
couple folks on reddit said while they were refreshing during the outage, they were briefly logged in as a whole different user
afandian1 reply#
Got references? This is crazy.
duk3luk3#
This isn't about an aws account, this is about the auth inside the project that user is running.
perpil1 reply#
This is not about the AWS Console. It is talking about the customer's site hosted on CloudFront. It is possible to cross wires with user sessions when using CloudFront if you haven't set caching granular enough to be specific to an end user. This scenario is customer error, not AWS.

Continue this thread — 1 reply

CodesInChaos1 reply#
electricity_is_life's comment on reddit seems to explain it:

> Not sure if this is what happened to you, but one thing I ran into a while back is that even if you return Cache-Control: no-store it's still possible for a response to be reused by CloudFront. This is because of something called a "collapse hit" where two requests that occur at the same time and are identical (according to your cache key) get merged together into a single origin request. CloudFront isn't "storing" anything, but the effect is still that a user gets a copy of a response that was already returned to a different user.
> https://stackoverflow.com/a/69455222
> If your app authenticates based on cookies or some other header, and that header isn't part of the cache key, it's possible for one user to get a response intended for a different user. To fix it you have to make sure any headers that affect the server response are in the cache key, even if the server always returns no-store.
---
Though the AWS docs seem to imply that no-store is effective:
> If you want to prevent request collapsing for specific objects, you can set the minimum TTL for the cache behavior to 0 and configure the origin to send Cache-Control: private, Cache-Control: no-store, Cache-Control: no-cache, Cache-Control: max-age=0, or Cache-Control: s-maxage=0.
https://docs.aws.amazon.com/AmazonCloudFront/latest/Develope...

Continue this thread — 1 reply

__turbobrew__1 reply#
Maybe dynamodb was inconsistent for a period and as that backs IAM credentials were scrambled? Do you have references to this, because if it is true that is really really bad.
aeyes#
AWS IAM doesn't use or depend on DynamoDB
CaptainOfCoit1 reply#
> couple folks on reddit said while they were refreshing during the outage, they were briefly logged in as a whole different user

Didn't ChatGPT have a similar issue recently? Would sound awfully similar.

sunaookami1 reply#
Steam also had this, classic caching issue.
mbo1 reply#
This happened to me on Twitter maybe like, 9 years ago? What's the mechanism of action that causes this to happen?
howinator#
The easiest way to do this is to misconfigure your CDN so that it caches set-cookie headers.
liviux#
A friend of a friend knows a friend who logged in to Netflix root account. Source: trust me bro
gwbas1c#
Years ago I worked for a company where customers started seeing other customers' data.

The cause was a bad hire decided to do a live debugging session in the production environment. (I stress bad hire because after I interviewed them, my feedback was that we shouldn't hire them.)
It was kind of a mess to track down and clean up, too.

TZubiri#
A security incident like this would dwarf in comparision to partial unavailability of services.