3 ms·
Are there places that still give out shell accounts to untrusted users on shared Linux systems? There must still be at like research institutes or colleges, but
by fragmede 2y ago
Are there places that still give out shell accounts to untrusted users on shared Linux systems? There must still be at like research institutes or colleges, but these days most everyone gets their own VM. Local priv esc is something to patch for, but if you're accepting untrusted user input, you cycle the container after after N minutes/requests and the VM it's on after M minutes/requests to protect against this sort of thing.
- malux85 2y agoLocal privilege escalation isnt just a problem on shell account sharing - it turns a "this image uploader has a weird RCE" into "I have root and compromised the application server, stole the database credentials and moved laterally through the network", thats why they still have relativly high (>=7) CVE scores
- technion 2y agoThe majority of the time its the same problem though. An rce in an image uploader running as your Web apps user will almost always allow me access to your database, since that web app uses that database by definition.
- deleted 2y ago[deleted]
- malux85 2y agoAnd root means you can hide your tracks easier, find IDS, install secondary backdoors, and a zillion other things that a normal user can’t do It’s only the same thing if you’re some ham-fisted script kiddie stealing the database, loudly in broad daylight. the pros stay unseen.
- delfinom 2y agoI'll blow your mind. Shared web hosts are still a thing.
- fragmede 2y agoNow that you mention it, I have a friend on GoDaddy that has a thing they can SSH into and get some sort of shell on, probably via Virtuozzo or something.