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.
[3 hidden]5 mins ago
These are the kinds of bugs I am relieved to see found. There is no immediate urgency, just update your system regularly and we are all safer having it patched.
[3 hidden]5 mins ago
What if someone hangs on a rope out of the ceiling and plugs the usb stick to your computer?
What if we all die in the end? Does any of this matters?
[3 hidden]5 mins ago
This works only in movies.
We all know organizations that would have to worry about such things are still using floppy disks.
[3 hidden]5 mins ago
Luckily Tom is too old for that now.
[3 hidden]5 mins ago
Robots could do this in the future.
My only relieve is that Windows is worse off than Linux here.
[3 hidden]5 mins ago
> Luckily Tom is too old for that now.
He's getting old but he's an Operating Thetan Level 8.
Galactic Emperor Xenu keeps him strong and wily.
Lock down your USB ports.
[3 hidden]5 mins ago
Everyone here worried about hanging from the ceiling USB exploits, and i'm worrying about hawkeyes arrow usb exploits.
[3 hidden]5 mins ago
I’m also relieved since it means we can probably root old, unsupported devices.
[3 hidden]5 mins ago
I wonder if any other USB devices are capable of doing this (pretending to be a mass storage device) and are themselves vulnerable to a non-root attack. Keyboard? hub? It could then be a remote escalation.
[3 hidden]5 mins ago
Err… any USB device can report any device class and ID it wants to.
[3 hidden]5 mins ago
Anyone shipping robots or other Linux appliances should have usbguard set up with a short allowlist of the known device PIDs and classes.
But certainly this is much scarier for laptops and such which are privileged devices, full of high value data, and frequently taken about and left unattended.
[3 hidden]5 mins ago
Especially during border crossings.
[3 hidden]5 mins ago
Presumably you'd be crossing with your laptop shut off and FDE enabled so this shouldn't really be an issue?
No amount of USB vulnerabilities like this will make a dent if you can't even boot it.
Some of my colleagues also enable the UEFI boot password, though I'm not sure how useful that is or isn't in the 21st century.
[3 hidden]5 mins ago
Depending on the border you cross this will not be a choice you make willingly.
[3 hidden]5 mins ago
rubber hose cryptobreaking is also always a possibility in most countries.
[3 hidden]5 mins ago
More common in some than others.
But I was thinking more of those countries which as a matter of official policy routinely ask people to unlock devices at the border and may spend time with those devices away from the owner’s supervision.
[3 hidden]5 mins ago
For anyone with USB/IP installed (https://wiki.archlinux.org/title/USB/IP) this could be a remote problem. For anyone with this installed and available to low-permission users, this could be a good EoP vector (user to kernel). It's also a good root-to-kernel vector for systems relying on the protections of lockdown mode.
[3 hidden]5 mins ago
Urgency… this will likely be rolled into the standard TSA airport kit.
[3 hidden]5 mins ago
Full disk encryption, and shutdown your laptop before going through security. Should've been doing that prior to this exploit anyway.
Make sure your electronic devices are charged before you travel. If your device does not switch on when requested, you will not be allowed to take it onto the aircraft.
Ostensibly this is to make sure you don’t hollow out your laptop and fill it with explosives or drugs. But it exists.
[3 hidden]5 mins ago
Works best if a different password boots a different OS that just has a few games on it. Dual purpose, can give it to { kids | TSA } to play with and not break anything.
[3 hidden]5 mins ago
If they can't make you enter the password, then it still doesn't give them access. If they can make you enter the password, then they had access anyway.
[3 hidden]5 mins ago
… which is why you need a plausible OS that boots if you type in a burner password and just scrambles the rest of the disk.
[3 hidden]5 mins ago
Yes but you gotta wonder what else remains.
[3 hidden]5 mins ago
Lots, but the linux project has been patching so many CVEs a month lately that the total number of exploits that exist is shrinking.
[3 hidden]5 mins ago
That defeats my laptop security model, for example. I have Luks FDE which is unlocked with key from TPM2 with Secure Boot. So basically it's encrypted at rest, but boots to GDM login screen and relies on its security.
Now if someone can RCE with USB dongle, they obviously can by-pass this login screen in one way or another.
[3 hidden]5 mins ago
configure your machine to immediately reboot if it detects USB activity while locked.
[3 hidden]5 mins ago
This comment is so nonsensical I find it hard to know where to start. Do you understand, for example, that RCE stands for REMOTE code execution? And what does GDM have to do with anything?
[3 hidden]5 mins ago
I'm sure any day now, an LLM hypeman will tell us all about how claude discovered a remote code execution that only requires physical access to the server
[3 hidden]5 mins ago
Yep this is still very serious. Eg. in corporate environments: a subordinate walk in your office and plug in the device; or it's the perfect evil maid attack: you leave your laptop at the hotel room...
[3 hidden]5 mins ago
A nerd's imagination: "The CEO has left his laptop in the hotel room, and it RUNS LINUX! The perfect opportunity for a maid to sneak a USB key which pretends to be a mass storage device and exploits the kernel-level SCSI driver to gain root access!"
What would actually happen: "The CEO left his macbook on the dinner table, unlocked with the secret plans open, because he saw a golf buddy arrive and went for a chat."
A while ago at Boeing (I heard this from someone there) an executive went to an international conference, felt ill after dinner, and went to their room early. The safe was unlocked and their laptop was warm as if it had just been turned off.
So this does actually happen.
[3 hidden]5 mins ago
Or he forgot to lock his safe and Windows in all its wisdom decided to boot to apply an update.
[3 hidden]5 mins ago
More like:
CEO: "Hot foreign spy, have a look at all these secrets."
Or: "BaihouziAI, code me an app that clocks me in 15min before I arive. Do not make any mistakes. Do not include any backdoors. Do not reference the obfuscated C contest."
[3 hidden]5 mins ago
Lots of details missing, though: How did they go from being able to rewrite just one byte in kernel memory to arbitrary code execution?
[3 hidden]5 mins ago
The exploit discloses up to 64 bytes of kernel stack, and allows the attacker to zero (IIUC) the two least significant bits at any arbitrary offset. So you can, in essence, re-target a pointer to attacker-controlled data. My understanding is they forged some internal structures to amplify that two-bit write into a more powerful write primitive.
[3 hidden]5 mins ago
This seems like memory grooming and needing to know virtual locations before the attack.
[3 hidden]5 mins ago
I don't have their POC available to me but if you can read 64 bytes of the stack that might be enough. ASLR and PIE doesn't hinder you if you're dealing with offsets within the same memory page, and based on the mailing list discussion the attack relies upon overwriting nearby fields in the same struct so there's unlikely to be much guessing involved.
[3 hidden]5 mins ago
That's really bad. Imagine all those ATMs or ticket vending machines, you could root with only access to any usb port (which can be a hole drilled even)
[3 hidden]5 mins ago
Most of them are running ancient windows versions. So nothing to worry about there.
[3 hidden]5 mins ago
At first I laughed and then reread: "ancient Windows versions".
[3 hidden]5 mins ago
Most of them are running ancient windows versions. So nothing to worry about there.
[3 hidden]5 mins ago
Given the number of devices out in the real world that run Linux--many that aren't updated often--this can be serious!
Odoo, uniCenta and Floreant POS systems are used in restaurants and hotels and you can walk right up to the little boxes on the reception desk and shove a USB drive in.
[3 hidden]5 mins ago
> Linux 6.5 and later
Maybe in this case it happens to be better if they're out of date!
[3 hidden]5 mins ago
phew, 2.4 saves me for once
[3 hidden]5 mins ago
Being able to get into a locked laptop is interesting.
[3 hidden]5 mins ago
as an embedded dev who mostly did drivers, and unfortunately some usb, i initially went in with the usual suspects in mind but yep
[3 hidden]5 mins ago
Quite rightly, it’s minor. Why does it have a website?
[3 hidden]5 mins ago
Once again, it makes me miss floppy disks. Where the thing looked like a floppy, quacked like a floppy, and couldn't impersonate some other kind of device.
[3 hidden]5 mins ago
I don't think they open the FDD up to any extra exploits, but just in case you are interested: https://en.wikipedia.org/wiki/FlashPath were a set of devices that pretended to be a floppy.
[3 hidden]5 mins ago
Would this work over WebUSB?
[3 hidden]5 mins ago
WebUSB lets web apps talk to USB devices that are attached to the host running the browser. It doesn't have the browser present an emulated USB device to the kernel (at least not to my knowledge).
[3 hidden]5 mins ago
Nothing stopping webUSB flashing the firmware of a device to run this exploit though presumably.
[3 hidden]5 mins ago
If you give the site access to your device, sure. But ultimately so could any other firmware updater.
[3 hidden]5 mins ago
Which is part of why Mozilla has been so bearish on WebUSB/MIDI/etc.
Performing software updates of essentially soft USB devices in a microcontroller is pretty much the primary use case of WebUSB currently.
[3 hidden]5 mins ago
I don't support Mozilla stance.
It's about the alternative.
Manufacturer can either provide WebUSB page, so you can flash your device. Or they can provide you with UPDATE.EXE which will do the same, but additionally your entire system will be exposed to arbitrary executable file.
WebUSB is always safer route.
And if Mozilla afraid about users randomly clicking (like they can already randomly download whatever exe and click on them) hide these permissions and turn off them by default. That's what I do on fresh chrome installation anyway, I disable every possible permission by default which still allows me to enable selected permissions on specific website if I need it.
[3 hidden]5 mins ago
not really, WebUSB is on the other side of (it allows you to interact with USB devices, it can not emulate a malicious device)
you would need to use WebUSB to hack a usb device connected to the computer, overwrite it's firmware and then make it restart so that it can "hack back" into the computer
which to be fair isn't impossible, but seems unlikely to be an relevant attack vector
[3 hidden]5 mins ago
That's totally feasible.
[3 hidden]5 mins ago
yes,
but you need to go through a lot of hoops, like
- have a wide range of USB devices which can be hacked through the web
- run a website (domains need human registration, so you need to have some "stolen" domains)
- make people visit that website
- make people grant WebUSB permissions to that website
- have people happen to have the right USB devices plugged in
....
like I'm sure someone could find some use for some high investment spear fishing attack
but such attacks often have much better approaches (which either are more likely to succeed or cheaper or leave less traces)
and it's unlikely to be worth the investment for typical "scattershot everything and see what sticks" attacks
so it's not that it isn't feasible, just that there so much better options
[3 hidden]5 mins ago
> - have a wide range of USB devices which can be hacked through the web
> - have people happen to have the right USB devices plugged in
Really the same argument, rehashed
> (domains need human registration, so you need to have some "stolen" domains)
Not true. Has it ever been true?
What remains is then some pretty normal hoops, such as:
- plug in the "right" usb device
- make user visit website
- make user grant permissions
Doesn't sound like rock science now, does it?
[3 hidden]5 mins ago
Oh but surely next thing WebUSB people will demand would be usb host browser-side.
[3 hidden]5 mins ago
WebUSB is half dead.
Chrome OS is EOL
Firefox OS died long ago
Chrom dev loved PWAs but Google doesn't so that is dying too
on of the major caved points for PWAs and similar which need and easily could have been improved on are web permissions, and they are pretty much in a lot of way still more in an MVP state then anything else (which makes sense from a Google POV, having well implemented web permissions is in direct conflict with spying on people and forcing them to use native apps, eh I mean ads). E.g. web notifications do theoretically work grate but the way chrome handled them on Windows was absurdly ab-usable, instead of fixing it they removed it, it was _very_ fixable.
anyway the point I'm wanting to make is that I don't think WebUSB will be expanded on. It still likely will stay around, it's too useful for a wide variety of slightly niche cases (like firmware updates without needing a native app, widely used by modern customizable Keyboards). But that's it.
[3 hidden]5 mins ago
The shovel-everything-into-the-browser people never run out of terrible ideas.
[3 hidden]5 mins ago
> 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.
Oh, the James Bonds had this for a while already, they just didn't tell us about it.
Jest aside, I can imagine that state actors aren't all too pleased to see LLMs causing their arsenal to shrink.
[3 hidden]5 mins ago
I've had the same thought. Some of these flurry of vulnerabilities across tech have been around for quite a while. Surely some of them were known about and exploited, and it'd be fascinating to know which ones.
[3 hidden]5 mins ago
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.
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.
[3 hidden]5 mins ago
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.
[3 hidden]5 mins ago
I'm not saying this is wrong but it sounds like adding lots of complexity into solving a problem and adding complexity leads to more possible exploits. I mean VMs aren't immune to attacks either.
[3 hidden]5 mins ago
On the contrary, the Xen hypervisor behind qubesos is a microkernel with a much smaller attack surface, compared to standard OS kernels.
[3 hidden]5 mins ago
The hypervisor wouldn't in this case be the target of the attack, but dom0.
[3 hidden]5 mins ago
Yep, this exploit would only give you control over sys-usb, on a default config sys-usb is a disposableVM/empty.
[3 hidden]5 mins ago
I'd love to see QubesOS but with a small, verified, trusted core hypervisor.
[3 hidden]5 mins ago
Isn’t Xen supposed to be small enough to be verified?
[3 hidden]5 mins ago
Isn't the host OS in danger?
[3 hidden]5 mins ago
There is no host OS in QubesOS. Only a hypervisor that coordinates the VMs and how they interact with each other and with the hardware. In this case the hypervisor exposes to a VM the PCI hardware interface to which the USB device is connected. Only the kernel in that VM then interacts with the USB device directly.
[3 hidden]5 mins ago
Maybe I'm nitpicking but isn't the hypervisor an os, arguably the real one?
[3 hidden]5 mins ago
No, a hypervisor is not an operating system. It needs much less complexity and is therefore much less likely to have bugs. What you see as the "host" in qubes is actually itself just a VM.
[3 hidden]5 mins ago
Neat! Imma have to poke around QubesOS.
[3 hidden]5 mins ago
Fair warning, the learning curve could be described as a cliff face. But it is an interesting architecture and I ran it as my daily driver for two years.
[3 hidden]5 mins ago
No the pcie USB controller is passed to a disposable sys-usb vm.
That's what's in danger.
[3 hidden]5 mins ago
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
[3 hidden]5 mins ago
For untrusted USB mount, there are tools like https://github.com/cea-sec/usbsas that don't mount in the kernel but do everything in userspace, and thus bypass this class of attack.
Most people don't use it though so I guess it depends on how much you care in the end...
[3 hidden]5 mins ago
This is the Linux kernel maintainer policy on malicious filesystems.
"Of the remaining fixes, 7 assumed a malicious filesystem image mounted by root, the textbook non-security bug that the kernel security team has a canned reply for. "
Not automounted in this case, just plugged in (which I might have done with a found USB, and then tried to copy any partitions as raw files and then examine them with safe(r) tools that the whole kernel.
[3 hidden]5 mins ago
In this instance though you'd have to have some kind of auto mount to before you deal with the filesystem?
Considering this says its requires mass storage support, Ive not read it all through enough to figure out if this is needed though, considering its limited kernel versions I’m not sure I’m going to bother.
[3 hidden]5 mins ago
Unfortunately that is correct, it is just also not relevant here.
[3 hidden]5 mins ago
I just always assumed this was the case
[3 hidden]5 mins ago
Unless you changed the USB authorization policy to default deny [0] with some userspace filter for whitelisting specific devices, e.g. USBGuard [1], any USB device can pretend to be any other USB device.
There's no need to exploit the mass storage device driver when you can just pretend to be a keyboard and open a terminal. It's likely also possible to detect when the system is idle and do this when nobody is watching.
i believe this works on a locked machine, a keyboard shouldn't be able to get you past the lock screen.
[3 hidden]5 mins ago
Odd I never get past my lock screen without a keyboard.
[3 hidden]5 mins ago
By "this", they probably mean usb2shell.
[3 hidden]5 mins ago
Yubikey?
[3 hidden]5 mins ago
Well, now you can with usb2shell. And you even get root for free.
[3 hidden]5 mins ago
But no keyboard
[3 hidden]5 mins ago
This will be a boon to anyone in law enforcement (whether they're catching terrorists or hacking activists and journalists). It's not easy to get code execution on a running server pulled from a rack in a datacenter, but this makes it rather trivial to dump the keys and decrypt disks.
[3 hidden]5 mins ago
I'm surprise there isn't yet a Flipper Zero exploit.
[3 hidden]5 mins ago
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.
[3 hidden]5 mins ago
Read the section 'the bug': the change that made this possible was introduced in 6.5. Really only vindicates the criticism of Linux's monolithic architecture further; hardware continues to implement weird tricky features and drivers have to support them. Sure would be nice if we weren't executing those drivers in a priviledged mode...
[3 hidden]5 mins ago
> hardware continues to implement weird tricky features and drivers have to support them.
It might be nice to have a set of drivers that allow for the basic functionality of our devices while leaving all the newest weird tricky features that increase attack surface and can bite you in the ass unavailable. I don't necessarily need things to be so fancy.
[3 hidden]5 mins ago
> 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
I’ve been reading the usb implementation of OpenBSD, and it’s very much a foundational bus like pci. Most (if not all) subsystems hook into it, and it’s basically “trust me, bro” especially with the need to hotswap and how versatile one device can be.
[3 hidden]5 mins ago
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.
[3 hidden]5 mins ago
Just to be clear, Would a modular kernel that actually sort of exists like ftl-os[0] actually be saved from such type of bugs?
how exactly can a completely different kernel, that doesn't implement the linux userland ABI, help?
[3 hidden]5 mins ago
> with sel4 we have reached new heights of security and unusability
[3 hidden]5 mins ago
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.
[3 hidden]5 mins ago
Looking at the timeline, someone keenly watching Linux kernel commits could have learned about this before the public announcement. Most likely some of the more resourceful actors are doing this.
[3 hidden]5 mins ago
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.
On Android the bug is a leak only. Android kernels on 6.6 and later are affected and the device still gets kernel stack contents back, but the builds we checked (Android GKI, and the Samsung Galaxy A16 shipping kernel) use compiler bounds checks that keep the write inside the buffer.
[3 hidden]5 mins ago
How to check? Curl this shell script from this brand new domain
if you're someone who blindly copy/pasted these commands into a terminal you likely don't know how to exit less anyway :-P
at least they didn't tell you to pipe curl to bash, i guess?
[3 hidden]5 mins ago
Finally something my server can't be reached by!
[3 hidden]5 mins ago
Lol, the moment you have physical access to a box it is already root. This is known. It has been known since the 70s
[3 hidden]5 mins ago
and yet, people complain about Apple not giving them access to hardware they physically possess
[3 hidden]5 mins ago
Apple computers are like those fancy cars where you can never open the hood, but an official service technician can.
[3 hidden]5 mins ago
This is well known to be possible since the beginning of time. Same for windows I believe. Does no one watch hacker movies anymore
[3 hidden]5 mins ago
Clickbait2shell, a new exploit where you blindly add "2shell" at the end of a random word. Sequel to Clickbleed.
[3 hidden]5 mins ago
At least the "2shell" names make sense. It clearly states the weak point (usb, php...) and what the result is (full on shell, rather than just reading from RAM or an out of bounds write)
[3 hidden]5 mins ago
Yeah but it can only be used once, so now we need to decide how we're going to version these
[3 hidden]5 mins ago
Like... usb3shell?
[3 hidden]5 mins ago
us3.2Gen1x1shell
[3 hidden]5 mins ago
usb2shell2
usb2shell3thereclickening
[3 hidden]5 mins ago
php_real2shell
[3 hidden]5 mins ago
I can open the terminal with my mouse. Should I call it cursor2shell?
[3 hidden]5 mins ago
2shell1mouse
[3 hidden]5 mins ago
fwiw the reason this is "2shell" is because it can get an authenticated shell at any privilege level accessible by the kernel (i.e. root but not hypervisor escape) even on a fully locked down machine by RCE-ing the USB bus driver (and not emulating a keyboard or anything).
[3 hidden]5 mins ago
I can right click and select "run as administrator"
[3 hidden]5 mins ago
You're too late, Terminal2shell already exists.
[3 hidden]5 mins ago
baitgate imo
[3 hidden]5 mins ago
It's never going to stop being funny how scandals are still called "gate" just because of that one hotel's name
[3 hidden]5 mins ago
Without trying to be too precise: that bug was shown in milions and milions movies already... So hypotesis is: movie creators know stuff, pay attention :)
[3 hidden]5 mins ago
I patch with superglue.
[3 hidden]5 mins ago
Plugging up USB ports on computers in customer facing/front of house areas is a good idea. For one thing, it keeps people from trying to charge their phones on your computers!
[3 hidden]5 mins ago
> Why "usb2shell"?
I thought they were going to try and justify the lack of creativity, but no.
[3 hidden]5 mins ago
Damn, Linux added USB autorun feature, but did not expose it in settings.
[3 hidden]5 mins ago
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.
[3 hidden]5 mins ago
> By the end of the year we will have Shell2Shell vulnerability if things continue on this scale lmao
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.
https://xkcd.com/538/
We all know organizations that would have to worry about such things are still using floppy disks.
My only relieve is that Windows is worse off than Linux here.
He's getting old but he's an Operating Thetan Level 8.
Galactic Emperor Xenu keeps him strong and wily.
Lock down your USB ports.
But certainly this is much scarier for laptops and such which are privileged devices, full of high value data, and frequently taken about and left unattended.
No amount of USB vulnerabilities like this will make a dent if you can't even boot it.
Some of my colleagues also enable the UEFI boot password, though I'm not sure how useful that is or isn't in the 21st century.
But I was thinking more of those countries which as a matter of official policy routinely ask people to unlock devices at the border and may spend time with those devices away from the owner’s supervision.
Make sure your electronic devices are charged before you travel. If your device does not switch on when requested, you will not be allowed to take it onto the aircraft.
Ostensibly this is to make sure you don’t hollow out your laptop and fill it with explosives or drugs. But it exists.
Now if someone can RCE with USB dongle, they obviously can by-pass this login screen in one way or another.
What would actually happen: "The CEO left his macbook on the dinner table, unlocked with the secret plans open, because he saw a golf buddy arrive and went for a chat."
https://xkcd.com/538/
So this does actually happen.
CEO: "Hot foreign spy, have a look at all these secrets."
Or: "BaihouziAI, code me an app that clocks me in 15min before I arive. Do not make any mistakes. Do not include any backdoors. Do not reference the obfuscated C contest."
Odoo, uniCenta and Floreant POS systems are used in restaurants and hotels and you can walk right up to the little boxes on the reception desk and shove a USB drive in.
Maybe in this case it happens to be better if they're out of date!
Performing software updates of essentially soft USB devices in a microcontroller is pretty much the primary use case of WebUSB currently.
It's about the alternative.
Manufacturer can either provide WebUSB page, so you can flash your device. Or they can provide you with UPDATE.EXE which will do the same, but additionally your entire system will be exposed to arbitrary executable file.
WebUSB is always safer route.
And if Mozilla afraid about users randomly clicking (like they can already randomly download whatever exe and click on them) hide these permissions and turn off them by default. That's what I do on fresh chrome installation anyway, I disable every possible permission by default which still allows me to enable selected permissions on specific website if I need it.
you would need to use WebUSB to hack a usb device connected to the computer, overwrite it's firmware and then make it restart so that it can "hack back" into the computer
which to be fair isn't impossible, but seems unlikely to be an relevant attack vector
but you need to go through a lot of hoops, like
- have a wide range of USB devices which can be hacked through the web
- run a website (domains need human registration, so you need to have some "stolen" domains)
- make people visit that website
- make people grant WebUSB permissions to that website
- have people happen to have the right USB devices plugged in
....
like I'm sure someone could find some use for some high investment spear fishing attack
but such attacks often have much better approaches (which either are more likely to succeed or cheaper or leave less traces)
and it's unlikely to be worth the investment for typical "scattershot everything and see what sticks" attacks
so it's not that it isn't feasible, just that there so much better options
> - have people happen to have the right USB devices plugged in
Really the same argument, rehashed
> (domains need human registration, so you need to have some "stolen" domains)
Not true. Has it ever been true?
What remains is then some pretty normal hoops, such as:
Doesn't sound like rock science now, does it?Chrome OS is EOL
Firefox OS died long ago
Chrom dev loved PWAs but Google doesn't so that is dying too
on of the major caved points for PWAs and similar which need and easily could have been improved on are web permissions, and they are pretty much in a lot of way still more in an MVP state then anything else (which makes sense from a Google POV, having well implemented web permissions is in direct conflict with spying on people and forcing them to use native apps, eh I mean ads). E.g. web notifications do theoretically work grate but the way chrome handled them on Windows was absurdly ab-usable, instead of fixing it they removed it, it was _very_ fixable.
anyway the point I'm wanting to make is that I don't think WebUSB will be expanded on. It still likely will stay around, it's too useful for a wide variety of slightly niche cases (like firmware updates without needing a native app, widely used by modern customizable Keyboards). But that's it.
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.
Just not as a bug but as a feature.
Jest aside, I can imagine that state actors aren't all too pleased to see LLMs causing their arsenal to shrink.
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.
That's what's in danger.
Please correct me if I'm wrong
Most people don't use it though so I guess it depends on how much you care in the end...
"Of the remaining fixes, 7 assumed a malicious filesystem image mounted by root, the textbook non-security bug that the kernel security team has a canned reply for. "
https://sparsenotes.com/posts/2026/10/security-in-the-llm-ag...
Considering this says its requires mass storage support, Ive not read it all through enough to figure out if this is needed though, considering its limited kernel versions I’m not sure I’m going to bother.
There's no need to exploit the mass storage device driver when you can just pretend to be a keyboard and open a terminal. It's likely also possible to detect when the system is idle and do this when nobody is watching.
[0] https://www.kernel.org/doc/Documentation/usb/authorization.t...
[1] https://usbguard.github.io/
..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.
It might be nice to have a set of drivers that allow for the basic functionality of our devices while leaving all the newest weird tricky features that increase attack surface and can bite you in the ass unavailable. I don't necessarily need things to be so fancy.
I’ve been reading the usb implementation of OpenBSD, and it’s very much a foundational bus like pci. Most (if not all) subsystems hook into it, and it’s basically “trust me, bro” especially with the need to hotswap and how versatile one device can be.
[0]: https://ftl-os.org/
0. http://sel4.systems/
1. https://microkerneldude.org/2018/08/23/microkernels-really-d...
ie: Just because it required physical USB access doesn't mean it's not remote-exploitable in some/many cases.
On Android the bug is a leak only. Android kernels on 6.6 and later are affected and the device still gets kernel stack contents back, but the builds we checked (Android GKI, and the Samsung Galaxy A16 shipping kernel) use compiler bounds checks that keep the write inside the buffer.
>less usb2shell-check.sh
>sh usb2shell-check.sh
I LOLed. Use "less -nU" to prevent black text on black background attack vector. Maybe.
at least they didn't tell you to pipe curl to bash, i guess?
usb2shell3thereclickening
I thought they were going to try and justify the lack of creativity, but no.
it has been a *2Shell released virtually every past week.
https://terminal2shell.com/
:)