Re:X.org Security Advisory: multiple security issues X.Org X...
by josephcsible on Sunday November 02, 2025 @06:51PM
(#45794470)
If malware is in your X server, doesn't that mean it's running under your user account? And if that's the case, then couldn't it just steal your data right off the filesystem without needing to get it from X?
[ Parent
| on HN ]
Re:X.org Security Advisory: multiple security issues X.Org X...
by lmz on Sunday November 02, 2025 @08:28PM
(#45795042)
It could be a remote X client on another machine.
Re:X.org Security Advisory: multiple security issues X.Org X...
by zahlman on Monday November 03, 2025 @05:53AM
(#45797775)
The valuable data on your machine might not be something permanently stored in the filesystem, but ephemerally recorded in a process. Say, a memorized password.
Re:X.org Security Advisory: multiple security issues X.Org X...
by josephcsible on Monday November 03, 2025 @03:15PM
(#45803845)
Couldn't the malware still get it without having to deal with X? E.g., by attaching to your process as a debugger?
Re:X.org Security Advisory: multiple security issues X.Org X...
by int_19h on Monday November 03, 2025 @08:53PM
(#45806692)
Try doing that on a regular Linux install, you might be surprised.
Re:X.org Security Advisory: multiple security issues X.Org X...
by josephcsible on Monday November 03, 2025 @09:14PM
(#45806799)
I assume you're talking about Yama, but that's not universally enabled by default. And even if it is, malware could do something like wait for you to open Firefox, then immediately kill it and launch its own version with its own code already baked in.
Re:X.org Security Advisory: multiple security issues X.Org X...
by int_19h on Wednesday November 05, 2025 @07:46PM
(#45830053)
It's enabled in all mainstream distros that I know of. I work on debuggers and this is the single most common issue that people report with attach.
And yes, if the malware is running under the same account that you use to login, it can do a lot, X or no X. That's where various forms of sandboxing come in. And the problem with X is that it is basically impossible to properly sandbox an X app.