Live data from Hacker News

GhostLock, a stack-UAF that has existed in all Linux distributions for 15 years

nebusec.ai

201–209 of 209 posts

Re: GhostLock, a stack-UAF that has existed in all Linux distributions for 15 years

#201

Earlier quoted context omitted.

They are a security boundary. The fact that you need a vulnerability to escape them is proof of that. They just don't have a particularly high cost of escape because reachable kernel vulnerabilities are so common.

Some people clearly do use containers as deployment mechanism, with security not in mind.

s/some/most/

That's not meant to be snide, just true, I think.

Re: GhostLock, a stack-UAF that has existed in all Linux distributions for 15 years

#202

Earlier quoted context omitted.

That's right. Docker still runs without user namespaces by default, which means that root is the same user inside and outside of the container. This does open up attack surface and configuration footguns. Confinement still leverages dropping some root caps, seccomp, various other namespaces, etc.

I don't think this is true, otherwise you could just load a kernel module into the host kernel from a container.

There are a million ways to load a kernel module from inside of a container into the host kernel (ie: to trigger a load), but seccomp/ linux caps will block the direct ways (as another commenter notes).

Re: GhostLock, a stack-UAF that has existed in all Linux distributions for 15 years

#203

Has anyone in infosec ever seen the term "use after free" before LLMs? Or is this basically an acronym claude invented? I say this because I see claude use this term all the time like its common knowledge but in 15+ years in tech never seen it myself. I've seen all kinds of terms used to describe memory errors: memory corruption, heap corruption, stack corruption, whatever, just never this acronym.

I'm surprised that UAF as an acronym is apparently unusual even among people familiar with use-after-free as a concept. I thought that was a pretty typical acronym in the context of software.

Re: GhostLock, a stack-UAF that has existed in all Linux distributions for 15 years

#204
post #93

Earlier quoted context omitted.

How is it a wide impact? It requires being able to execute arbitrary code on the machine in userspace. If you have that, most of the time you don't even care about kernel level exploits.

It's a browser to kernel full chain exploit, from url click to root your device.

No, GhostLock is not browser to Kernel.

https://nebusec.ai/research/v8-maglev-incorrect-phis-untaggi...

This is the browser part.

Re: GhostLock, a stack-UAF that has existed in all Linux distributions for 15 years

#205

Earlier quoted context omitted.

How is it a wide impact? It requires being able to execute arbitrary code on the machine in userspace. If you have that, most of the time you don't even care about kernel level exploits.

https://rootme.nebusec.io/

> Step1. Download Vulnerable Firefox.

Please tell me you are trolling me and not this stupid.

Re: GhostLock, a stack-UAF that has existed in all Linux distributions for 15 years

#206

Earlier quoted context omitted.

https://rootme.nebusec.io/

> Step1. Download Vulnerable Firefox. Please tell me you are trolling me and not this stupid.

I think you are misunderstanding the objective.

Re: GhostLock, a stack-UAF that has existed in all Linux distributions for 15 years

#207

Earlier quoted context omitted.

Some people clearly do use containers as deployment mechanism, with security not in mind.

s/some/most/ That's not meant to be snide, just true, I think.

I never understood why kubernetes doesn't use a VM-per-pod model by default.

Re: GhostLock, a stack-UAF that has existed in all Linux distributions for 15 years

#208

Earlier quoted context omitted.

Wonder if it were possible to use this to (finally) jailbreak DJIs original RC that came with the Mini 3 Pro. It doesn't have a web browser or, virtually, anything of use... but I think it supports enough of a web browser to log in into wifi captive portals.

What can you do with a jailbroken drone rc?

I don't care about FCC hacks, but about automation - the RC Pro controller is pretty expensive.

Re: GhostLock, a stack-UAF that has existed in all Linux distributions for 15 years

#209

Tested on three Android devices (version 9, 13, 16) with different Firefox versions under 150 (had to modify for older). Two boot looped, I had to enter recovery and the other just powered off [0]. The demo modifies the wallpaper on supported Pixel devices. [0] IonStack https://rootme.nebusec.ai ____ Tip: Install a Chromium flavor browser (Chromite) separate from the main browser. Disable Javascript and hardware acce…

Pixel 7, nothing happens

It takes a few seconds, and redirects to about:blank

Android 13, last update 3 years ago, firefox 140

Maybe prevented by the JShelter extension?

https://addons.mozilla.org/en-US/firefox/addon/javascript-re...

Post reply on HN