klange / toaruos

A completely-from-scratch hobby operating system: bootloader, kernel, drivers, C library, and userspace including a composited graphical UI, dynamic linker, syntax-highlighting text editor, network stack, etc.
https://toaruos.org/
University of Illinois/NCSA Open Source License
6.13k stars 487 forks source link

Security Issues - Tracking Ticket #95

Closed klange closed 6 years ago

klange commented 9 years ago

ToaruOS has more holes than swiss cheese.

Some of them are intentional and obvious: No FS permissions combined with write support means anyone can rewrite the master password file and make root's password butts. sudo doesn't check if a user has any right to become root, it just checks that your password is correct - free root for anyone who can prove they are themselves! These aren't considered bugs - they should be fixed, of course, but if someone comes up and says they've got an exploit for ToaruOS and it's just them rewriting the password file, you can laugh at them and walk away.

But like any project that hasn't really bothered much with security, ToaruOS has real issues, that actually should be considered bugs. I like to refer to those as "opportunities" - both for me, for aspiring security researchers, and for anyone who wants to contribute to the project.

Some known security issues that we actually consider bugs thus far:

Known security issues that aren't bugs but rather semi-intentionally missing features: