Earlier quoted context omitted.
I agree he deserves a higher payout, but it was on a segmented server that seems like it didn't have any customer data or other important data. If he were a real attacker, who knows where else he could've pivoted from this server (perhaps it wasn't quite as segmented as Facebook thought). But assuming it truly was pretty isolated, compromising it probably wouldn't have caused any damage. Regardless, I feel like he de…
Where are you pulling that number out of?
Remote Code Execution on a Facebook server
161–170 of 207 posts
Re: Remote Code Execution on a Facebook server
#162Nice job! I also really appreciate the lack of memes and very concise format of this blog post
Re: Remote Code Execution on a Facebook server
#163This is why you (looking at frameworks) should never use a format that may contain code to store data, especially when the client has control over that data (even if signed). The same vulnerability has occurred in almost every language/framework that does this, including Rails and Java-based ones. Just use something like JSON, which completely avoids code execution vulnerabilities like this. Except of course for the…
Re: Remote Code Execution on a Facebook server
#164Earlier quoted context omitted.
Of course. You can lock the process down so that it can't make unexpected system calls. If you deploy in a modern container environment, you can also use container networking to drastically limit what the application environment can talk to on the network. Though it's a less potent mitigation than seccomp and container isolation (and one you get for free once you deploy in a container), you can also limit filesystem…
> You can lock the process down so that it can't make unexpected system calls Huh, this isn't something I've ever come across before. Off the top of my head, I guess it would be possible on Windows using a kernel mode driver, but that's pretty hardcore, and really easy to get wrong. I know you can easily audit syscalls on Linux with auditd, but haven't seen preventing them before. Is this an option on both Linux and…
Re: Remote Code Execution on a Facebook server
#165Nice job! I also really appreciate the lack of memes and very concise format of this blog post
Also the title. Clear and concise without being click-bait (such as Facebook RCE for fun and profit, all your Facebook belong to us, etc...)
Re: Remote Code Execution on a Facebook server
#166This is why you (looking at frameworks) should never use a format that may contain code to store data, especially when the client has control over that data (even if signed). The same vulnerability has occurred in almost every language/framework that does this, including Rails and Java-based ones. Just use something like JSON, which completely avoids code execution vulnerabilities like this. Except of course for the…
Yes, Django realized this 7 years ago [0], and JSON has been the default for the past 5 years[1], it's just that facebook was using an old version of Django, and probably not the default. [0] https://groups.google.com/d/msg/django-developers/YwlZ9m9k1b... [1] https://github.com/django/django/commit/b0ce6fe656873825271b...
https://github.com/getsentry/sentry/blob/ea8fe10d117f5325f9e...
Re: Remote Code Execution on a Facebook server
#167Earlier quoted context omitted.
Luckily, Django provides checks to avoid this kind of leakage before hitting production with https://docs.djangoproject.com/en/2.1/howto/deployment/check...
They were running django 1.6 ....
https://github.com/getsentry/sentry/blob/ea8fe10d117f5325f9e...
Re: Remote Code Execution on a Facebook server
#168Earlier quoted context omitted.
I agree he deserves a higher payout, but it was on a segmented server that seems like it didn't have any customer data or other important data. If he were a real attacker, who knows where else he could've pivoted from this server (perhaps it wasn't quite as segmented as Facebook thought). But assuming it truly was pretty isolated, compromising it probably wouldn't have caused any damage. Regardless, I feel like he de…
Where are you pulling that number out of?
Re: Remote Code Execution on a Facebook server
#169Earlier quoted context omitted.
Funnily enough, it is mostly .NET applications running in production that I see stack-traces from these days.
If you even know something is a .Net app then the developer is likely terrible, so it is a self-selecting sample. You don't know most of the .Net MVC apps you interact with because there's no reason to know that.
Re: Remote Code Execution on a Facebook server
#170Earlier quoted context omitted.
Where are you pulling that number out of?
Honestly, just a gut feeling. (So, my ass.) I just feel like RCE should warrant somewhere around that much by default, even if the overall impact isn't high in a particular case. Some combination of potential impact and nature of the vulnerability/exposure should go into reward calculations, in my opinion.