|
|
Log in / Subscribe / Register

Failure of sandboxing

Failure of sandboxing

Posted Apr 17, 2025 19:28 UTC (Thu) by epa (subscriber, #39769)
In reply to: Failure of sandboxing by MrWim
Parent article: Catanzaro: Dangerous arbitrary file read vulnerability in Yelp

You are right, but if there's one lesson of security failures, it's that you need to fix all the lines of defence. The web browser shouldn't launch an external program such as Yelp without user intervention. Yelp shouldn't let the help file pass through a <script> element verbatim to the final HTML. Even if <script> or <svg:script> does appear, the JavaScript engine should be fussier about whether to run it. Even if it does run, perhaps the JavaScript engine shouldn't grant network access or local filesystem access by default. And even if all those steps fail, the yelp binary itself should run in some kind of sandbox that forbids it access to ~/.ssh or the network without explicit user approval. (That last step applies to many small programs, as you noted.)


The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:

Note: you can avoid this step in the future by logging into your LWN account.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds