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.
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.
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.
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.
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.
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.
Which is fine, nothing there states you have to do anything other than prove the device can be powered on. You can boot it up and show them the disk password prompt or BIOS, then turn it off again.
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.
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.
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...
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.
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."
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.
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?
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
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.
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.
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)
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.
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.
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.
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).
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.
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
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.
It's an interesting question, even outside programming.
Before people might ask questions and discuss things on obscure forums or subreddits. Now that LLMs are trained on all this data people no longer need to do that.
You just ask and LLM and get a throwaway answer that people generally trust as the best option.
Where do the new insights and opinion come from? Especially when LLMs start getting trained to recommend certain products.
Agreed, some LG TVs even hardcode the DNS these days. A simple cron job that resolves the hostnames and blocks the IP on a firewall level is very hard to bypass though ;)
We use a neural network to predict maintenance calories.
We actually operate a MacroFactor competitor: MacroCodex (which is completely free).
https://macrocodex.app/ we've like 17,000+ users so far.
It adapts much faster than MacroFactor, and it's completely free of subscriptions and ads.
Guaranteed weight gain or loss within 2-3 weeks, consider reading reviews if in doubt, many people will see results from the very first week on macrocodex!
Many people waste their time by adding "calorie burn" from different activities by tracking all of them individually in smartwatches or fitness bands.
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.
reply