4 ms·
So why are we in this mess? Because there are still buffer overflows. Address space randomization is done because buffer overflows allow exploits. But rather t
by Animats 8y ago
So why are we in this mess? Because there are still buffer overflows.
Address space randomization is done because buffer overflows allow exploits. But rather than fixing the underlying problem, we now have complex schemes to spread programs over the entire 64 bit address space to make such exploits unreliable.
Then, apparently Microsoft's Javascript JIT engine has enough problems with buffer overflows that each compiled program is in a different random part of the address space to try to prevent Javascript exploits.
- lazyjones 8y agoIsn‘t that a bit ignorant when nobody is forced to access their e-mail through a website running JIT-compiled JS in a browser with built-in OS features on a bloated, graphical UI of an OS with the burden of 25+ years of backwards compatibility? A fast client running on a lean OS would not exhibit these problems - and AFAIK gmail still supports IMAP. (I use Fastmail on MacOS&IOS/Safari and have no such issues either).
- tralarpa 8y agoWeb applications are the best example for Wirth's law. It's really mind-boggling if you think about it. None of the client-side components of a web application were originally designed for what they are used for today: 1. a programming language (Javascript) that turns into a nightmare if you try to write programs with more than a few thousand lines 2. a user interface that requires you to learn two additional declarative languages (HTML and CSS), both of them equally incomplete and crappy. 3. an API between 1 and 2 that is so lacking that you need an external library (e.g. jQuery) to reduce the amount of boilerplate code to a sane level. 4. a network protocol (HTTP) that was designed for static web pages with a few pictures and that has serious performance issues for anything more complex. 5. and finally, the whole thing implemented in a language (C or C++) that is fast but offers you plenty of opportunities to shoot yourself in the foot in obscur ways security-wise. Things are changing fortunately (HTTP/2, QUIC, Rust).
- dasmoth 8y agonobody is forced Pretty certain Google Apps administrators can disable IMAP and POP for their organizations.
- AceJohnny2 8y ago> Microsoft's Javascript JIT engine This is Google's. The problem manifested in Chrome. From the article: > It turns out that v8 (Chrome’s JavaScript engine) has CodeRange objects for managing code-gen [...] But what if you have multiple CodeRange objects, and what if those get allocated at random addresses and then freed?
- bcaa7f3a8bbc 8y agoBecause the underlying problem cannot be solved, until all the programs and systems currently in use can be completely rewritten and reimplemented with a widely-accepted programming language and methodology to ensure correctness and security. If the current approach from the C+Unix era to programming and OS is still in use, there are only three solutions available... 1. Fix-and-miss all the bugs, safe programming practice. 2. Isolation 3. Mitigation Isolation is useful to limit the scope of a security breach but cannot stop attackers from exploiting the bugs. The only solution which is able to stop attackers from exploiting existing programs is mitigation - you don't fix and miss individual bugs, bugs are always there, what we need stop attackers from exploiting them. Some exploits are easy to stop, hence NX. Others can only be stopped in a probabilistic way, hence ASLR.