So if you're on a maintained distro and update more often than every couple of months, you probably already have the fix for this.
koolba
> usb2shell is the physical version: instead of a crafted request, the attacker plugs in a crafted USB device.
This is the kind of bug from movies I’ve always wanted to see in real life. The kind that lets James Bond plug something into a computer for 2 second and hack the entire system.
hxorr
From what I understand, linux filesystems aren't hardened against malicious malformed filesystems on disk. The assumption is that the disk (at least the filesystem structure) is trusted. This is usually fine, but there would be a large class of exploits waiting to happen if say a USB drive found on the pavement is plugged in and automounted.
Please correct me if I'm wrong
show comments
negura
An excellent endorsement for the QubesOS security model. USB devices are attached to a disposable, unprivilleged VM and only the data to/from the device is passed through to other VMs. So the scope of an exploit in how the kernel handles the USB device is limited to a VM that is insulated from the rest of the system.
show comments
Panzerschrek
That's one of reason while monolithic kernels (as Linux is) are criticized. With a modular kernel only module working with USB-devices (an isolated process) may be affected by such a bug.
snvzz
Each such vulnerability serves as a reminder that seL4[0] exists, and that Linux's TCB isn't getting smaller anytime soon.
AFAIU, Linux considers physically connected devices to be "trusted", and doesn't place a ton of importance on securing drivers against hardware acting maliciously. I myself think that this policy is pretty bad, but I see how it could be the only reasonable policy for a monolithic kernel written in C where all drivers run in ring 0..
..I'm surprised though that there's an ACE which can be triggered from the generic USB Mass Storage Device driver without even mounting the filesystem I guess. This is gonna affect even many systems which disable all USB drivers they don't need for security reasons. I expected it to be from a driver for some ancient piece of hardware nobody has maintained for 15 years.
show comments
cyberax
Hm, it looks like it can be used to jailbreak the Tesla Model 3. I wonder if I can use it to add AndroidAuto.
cryptonector
Where's the Ubuntu patch?
show comments
Naru41
However, the redundant 3 times `if` statements in this patch can clearly be reduced to one.
I LOLed. Use "less -nU" to prevent black text on black background attack vector. Maybe.
show comments
kortzeus
Finally something my server can't be reached by!
necovek
I am mostly disappointed it is a pretty fresh versions of Linux that are affected (Linux 6.5 was released in mid 2023), so this can't be a rooting approach for most of my IoT devices or even car infotainment which used ancient versions in comparison.
imoverclocked
So, a lot of people are assuming that this only works in-person ... however, with devices like a GL.iNet Comet Remote KVM which emulates a USB device, nothing stops someone from doing a remote exploit of a kvm node (likely running a 4.19.x or 6.1.x. linux kernel) which then allows an exploit of the node it is plugged into. This is just another tool in the sandbox of someone who already has a lot of remote exploit tools.
ie: Just because it required physical USB access doesn't mean it's not remote-exploitable in some/many cases.
gsich
no poc.
pizzafeelsright
I patch with superglue.
show comments
kamk3
Clickbait2shell, a new exploit where you blindly add "2shell" at the end of a random word. Sequel to Clickbleed.
show comments
h4kunamata
By the end of the year we will have Shell2Shell vulnerability if things continue on this scale lmao
it has been a *2Shell released virtually every past week.
Hmm... people seem to be dismissing this in the comments.
It's more than a normal rubber duck attack, like pretending to be a mouse and keyboard, it is a proper exploit of the SCSI driver IIUC.
Someone with access to a physical device for one or two minutes can get root pretty much undetected.
It works even if locked or if the device is booted with no one logged in. That's pretty cool IMO.
Not as worrying as a remote exploit of course.
Was fixed in 7.2.8, my machines are updated on occasion by me, and are running 7.2.15, which came out on 01 Nov.
Looks like 7.2.8 was cut on 25 Sep: https://lwn.net/Articles/1096820/
So if you're on a maintained distro and update more often than every couple of months, you probably already have the fix for this.
> usb2shell is the physical version: instead of a crafted request, the attacker plugs in a crafted USB device.
This is the kind of bug from movies I’ve always wanted to see in real life. The kind that lets James Bond plug something into a computer for 2 second and hack the entire system.
From what I understand, linux filesystems aren't hardened against malicious malformed filesystems on disk. The assumption is that the disk (at least the filesystem structure) is trusted. This is usually fine, but there would be a large class of exploits waiting to happen if say a USB drive found on the pavement is plugged in and automounted.
Please correct me if I'm wrong
An excellent endorsement for the QubesOS security model. USB devices are attached to a disposable, unprivilleged VM and only the data to/from the device is passed through to other VMs. So the scope of an exploit in how the kernel handles the USB device is limited to a VM that is insulated from the rest of the system.
That's one of reason while monolithic kernels (as Linux is) are criticized. With a modular kernel only module working with USB-devices (an isolated process) may be affected by such a bug.
Each such vulnerability serves as a reminder that seL4[0] exists, and that Linux's TCB isn't getting smaller anytime soon.
0. http://sel4.systems/
I just always assumed this was the case
AFAIU, Linux considers physically connected devices to be "trusted", and doesn't place a ton of importance on securing drivers against hardware acting maliciously. I myself think that this policy is pretty bad, but I see how it could be the only reasonable policy for a monolithic kernel written in C where all drivers run in ring 0..
..I'm surprised though that there's an ACE which can be triggered from the generic USB Mass Storage Device driver without even mounting the filesystem I guess. This is gonna affect even many systems which disable all USB drivers they don't need for security reasons. I expected it to be from a driver for some ancient piece of hardware nobody has maintained for 15 years.
Hm, it looks like it can be used to jailbreak the Tesla Model 3. I wonder if I can use it to add AndroidAuto.
Where's the Ubuntu patch?
However, the redundant 3 times `if` statements in this patch can clearly be reduced to one.
>curl -fsSLO https://usb2shell.com/tools/usb2shell-check.sh
>less usb2shell-check.sh
>sh usb2shell-check.sh
I LOLed. Use "less -nU" to prevent black text on black background attack vector. Maybe.
Finally something my server can't be reached by!
I am mostly disappointed it is a pretty fresh versions of Linux that are affected (Linux 6.5 was released in mid 2023), so this can't be a rooting approach for most of my IoT devices or even car infotainment which used ancient versions in comparison.
So, a lot of people are assuming that this only works in-person ... however, with devices like a GL.iNet Comet Remote KVM which emulates a USB device, nothing stops someone from doing a remote exploit of a kvm node (likely running a 4.19.x or 6.1.x. linux kernel) which then allows an exploit of the node it is plugged into. This is just another tool in the sandbox of someone who already has a lot of remote exploit tools.
ie: Just because it required physical USB access doesn't mean it's not remote-exploitable in some/many cases.
no poc.
I patch with superglue.
Clickbait2shell, a new exploit where you blindly add "2shell" at the end of a random word. Sequel to Clickbleed.
By the end of the year we will have Shell2Shell vulnerability if things continue on this scale lmao
it has been a *2Shell released virtually every past week.
Is Android vulnerable to it?