|
|
|
|
|
by laumars
1847 days ago
|
|
> If I have owned a dev and can push code to a branch I can likely execute code in their build environment. But then you’re also executing that code as a trusted user. Ie the real hack is owning the dev. > This is how the vast majority of build systems are configured. No. The vast majority of build systems are either locked to private repositories, and/or a subset of developers, and/or run in an ephemeral sandbox. > But I do wonder what the cumulative impact of every binary on your system being memory safe would be. I’d already answered that. It’s negligible because if someone can exploit a buffer overflow in awk then they can already run arbitrary code in awk (remember, awk is a programming language). So if you’re not already taking precautions about who is running what on your build system and how running code is sandboxes then it’s not going to take a buffer overflow bug to RCE it. |
|
That's like saying the real hack is sending a phishing email, ignoring all privesc, lateral movement, etc.
> No. The vast majority of build systems are either locked to private repositories, and/or a subset of developers, and/or run in an ephemeral sandbox.
I didn't say otherwise. I said that the majority allow untrusted execution. If you consider your engineers laptops to be trusted you're thinking about networks the way people did ~10+ years ago.
> It’s negligible because if someone can exploit a buffer overflow in awk then they can already run arbitrary code in awk
This isn't true, but even if it were you can just replace awk with anything else that's not turing complete.