- push commits and branches
- change repo settings
- deploy and activate trusted workflows which can access any of the cloud credentials you have
- even more (secret overwrite, protection rules)
This seems like it could have a very large blast radius
The attacker earned that opportunity on November 12 and it was only finally recognized and mitigated on the November 23rd.
How did the attacker act as the app? How did the attacker gain access to the app credentials?
I wonder which audits would have uncovered this over-permissioning. Certainly not ISO 27001 or SOC 2 as I've seen them done.
If you installed the Defang GitHub App: what the attacker could use:
- push commits and branches
- change workflow files and start workflow runs
- overwrite Actions secrets and variables
- change deployment environments and their protection rules
- open and merge pull requests
- change repository settings, including branch protection, deploy keys and collaborators
If you have billing details with us - your name and email address
- your billing address, or the parts of it you gave us, and your tax ID if you entered one
- the brand, last four digits and expiry date of your card
- your subscription and invoice history
So, an attacker basically has everything about me - who I am, where I live, what banks I have an account with, my entire source code. Basically, if my attacker wanted, my career could be over. Damn.ah ok, so just about the worst-case scenario for a business.
> These can include database passwords and any environment variable built from a defang config value, such as a database URL that contains a password.
oh, it's even worse than I thought, as now not only their database is pwned - yours is too!
I guess it is time to go back to really spending time on defense in depth, removing non critical vendors, etc, and pray that some script kiddy with daddy's credit card doesn't nuke your business.
No chance. It's over.
"Installed the security update on November 15."
What security update? If they knew about this before, they left it until Nov 23? Or just a random security update that they happened to install on Nov 15?
""" Become AI-Native. Maintain Engineering Sovereignty. """
Ah right.
[dead]
This is apocalyptic.