Page 3 of 3 FirstFirst 123
Results 21 to 23 of 23

Thread: sudo timeout: security risk?

  1. #21
    Join Date
    Nov 2006
    Location
    Oregon
    Beans
    4,434
    Distro
    Ubuntu Development Release

    Re: sudo timeout: security risk?

    Quote Originally Posted by Calmarius View Post
    So does this mean after issuing a sudo command in a terminal then accidentally visiting a hacked website that exploits a code execution vulnerability in Firefox *can not* execute a system("sudo rm -rf /") to wipe out my system?

    One timeout per terminal?
    It can, but not for the reason you specified. It would need to run it in the same terminal you run sudo in. Basically, if you got code running as your user, it just has to wait until you run something else with sudo, then it has full access to your machine. I've posted basic bash scripts that would do that in another thread. The key though is that a FF vulnerability would need to be exploited or the code would need some other way to run on your system first.
    *Don't PM me directly for support, open a new thread
    *Looking for a MythTV quick start guide?

  2. #22
    Join Date
    Mar 2008
    Beans
    20

    Re: sudo timeout: security risk?

    Quote Originally Posted by MikeTheC View Post
    Well, as another thread so proudly states, "Physical Access is Root Access" so...
    That is not the case if you are running a remote ssh session. You do not automatically get root access by getting access to a terminal.

  3. #23
    Join Date
    Nov 2006
    Location
    Oregon
    Beans
    4,434
    Distro
    Ubuntu Development Release

    Re: sudo timeout: security risk?

    Quote Originally Posted by Shining Arcanine View Post
    That is not the case if you are running a remote ssh session. You do not automatically get root access by getting access to a terminal.
    A remote ssh session isn't physical access now is it.
    *Don't PM me directly for support, open a new thread
    *Looking for a MythTV quick start guide?

Page 3 of 3 FirstFirst 123

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •