3 ms·
I don't understand that. What about browsers is inherently insecure?
by andreyf 18y ago
I don't understand that. What about browsers is inherently insecure?
- pmjordan 18y agoMostly plugins and shoddy code. But yeah, I wouldn't necessarily call it an 'inherent' problem, just a difficult one. I've often wondered if it were feasible to run every browser tab in a separate (fork()ed) and chrooted OS process as an unprivileged user. Browsers generally already run plugins in separate processes because they have a habit of crashing or deadlocking. What about distrusting major parts of the browser itself that way?
- marcus 18y agoThere is nothing inherently insecure in browsers. But they do have lots of security problems, mostly they come from trying to support lots of different formats, plugins, programming languages and hence acquiring every security flaw of each and every one of them used (see the vulnerability in pnglib for example) and their sand-boxing is currently very very poor.
- mleonhard 18y agoEvery modern browser maintains a single user session that accesses multiple sites simultaneously. This allows a lot of information with security and privacy implications to flow between sites: * Cookies set in one browser window are delivered with requests made in another browser window * On site A, click a link to site C, and the same link on site B will change color. * Files cached for one browser window are available instantaneously in another window * Site A can use timing to determine if the browser currently has an open HTTP connection to site B * The browser has a per-browser limitation on the number of concurrent connections to a particular web server. A malicious website could use this to find out when you're browsing another website. Browsers also provide detailed version info to web servers, including plugin versions, allowing malicious sites to deliver the right exploits. ECMA Script implementations do not implement proper resource controls. For example, bad JavaScript on one page can cause other pages to have slow responses. Third-party cookies allow wholesale tracking Browsers don't complain when the user enters a password into a form that submits to an HTTP url. Browsers keep many cookies literally forever. Even if the user turns off cookies, the cache provides equivalent functionality for tracking. ECMA Script and Flash can pop up modal dialogs that allow one webpage to prevent the user from using others. Browsers don't provide any good UI tools for checking signatures of non-signed certificates. Many users are conditioned to just click 'Accept Permanently.' Browsers will recall passwords for pages that are shown in i-frames. Browsers should provide stronger anti-phishing mechanisms. For example, a way to designate a bookmark as the only allowed way to enter that domain.