News for hackers. Stuff that matters.
Re:X.org Security Advisory: multiple security issues X.Org X... by nurettin on Sunday November 02, 2025 @03:44PM (#45793269)
I don't dispute your anecdote but I think the point was: x11 has been around for decades, and these things just don't happen. And the reason is that there are much simpler and more effective ways to pwn a box than trying to screenshot an x session or trying to hook for key presses. So the vulnerability surface just isn't large enough.
Re:X.org Security Advisory: multiple security issues X.Org X... by kragen on Sunday November 02, 2025 @11:02PM (#45795742)
I have definitely seen "these things" happen.
Re:X.org Security Advisory: multiple security issues X.Org X... by nurettin on Sunday November 02, 2025 @11:25PM (#45795868)
What did you see specifically? And on what OS?
Re:X.org Security Advisory: multiple security issues X.Org X... by kragen on Sunday November 02, 2025 @11:47PM (#45795970)
Can't give details.
Re:X.org Security Advisory: multiple security issues X.Org X... by anthk on Monday November 03, 2025 @08:46AM (#45798879)
All of NIXen.

~/.profile

~/.env

~/.xprofile

Exploiting TMPDIR, /tmp race conditions, ~/.mailcap and mutt (I used that to get access to 'premium' binaries under restricted accounts).

If you have Emacs you can do tons of stuff from a single account.

And so on.

Re:X.org Security Advisory: multiple security issues X.Org X... by nurettin on Monday November 03, 2025 @01:23PM (#45802391)
Not sure what mutt has to do with X. Maybe you replied to the wrong thread.
Re:X.org Security Advisory: multiple security issues X.Org X... by 41throw-it on Monday November 03, 2025 @01:31PM (#45802505)
~/.xprofile

I agree in a little way to what you say, but if you can write .xprofile you can with no work escalate from the x socket.

Re:X.org Security Advisory: multiple security issues X.Org X... by 41throw-it on Monday November 03, 2025 @01:24PM (#45802409)
Hi -- throwaway

I have seen this happen as well. A memory corruption vulnerability in popular software allows unpriv shellcode to reach out and drop a rootkit which loads a rat as a kernel module. Attacker has control. Several big problems.

cobaltstrike beacons blocked. Instead pierce nat with STUN to attacker proxy. Use socket activated VNC/RDP/X.

Why not just steal the sessions and local data? Remote services log access (ip, time, location), easily correlate and forensics would lead back. Local data encrypted at rest, hands on keyboard needed any way since recon incomplete. Are they planning to scan memory for ssh key unlocks or intercept ssh -sk key? This is big, noisy and take developer time. If you log in to a email this leave forensics and is a CFAA violation while risking FAANG security. Attacker needs to shoulder surf.

Most hack is install crypto mining or steal a password. Maybe it is ransom. How do you get 2fa code if you want access to sensitive information? How do you steal hardware keys? You can back door browser, MitB but it gets updated away and you lose access. back door anything and lose access or discovered.

This is not a advanced attacks but it is targeted attacks. People are saying x server never get hacked, but computers get hacked. with X11 the chain is Exploit -> Game over. with wayland you need to go farther.

Re:X.org Security Advisory: multiple security issues X.Org X... by LtWorf on Sunday November 02, 2025 @11:15PM (#45795813)
Source?
Re:X.org Security Advisory: multiple security issues X.Org X... by kragen on Sunday November 02, 2025 @11:16PM (#45795818)
No, I've seen them. Myself. I didn't get this from a source.
Re:X.org Security Advisory: multiple security issues X.Org X... by LtWorf on Monday November 03, 2025 @09:42AM (#45799495)
So you didn't report the bugs?
Re:X.org Security Advisory: multiple security issues X.Org X... by kragen on Wednesday November 05, 2025 @12:24PM (#45825419)
No bugs were involved, just X11 functioning as designed.
Re:X.org Security Advisory: multiple security issues X.Org X... by LtWorf on Wednesday November 05, 2025 @03:03PM (#45827231)
So you just don't like X11. Ok. But what was your point then other than share your personal feelings?
Re:X.org Security Advisory: multiple security issues X.Org X... by kragen on Thursday November 06, 2025 @05:53AM (#45833775)
It sounds like you're out of your depth in this conversation, Lieutenant. I have ambivalent feelings about X11, but they aren't relevant to the topic at hand.

0xbadcafebee said, "Why do people keep persisting this myth? X11 has authentication. ... What's insane about all these discussions is that NOBODY IS HACKING X SERVERS. There's a thousand other kinds of software on Linux that there is real malware for. But nobody is trying to hijack your X11 session. This imagined threat is a red herring ..." and then nurettin followed up by saying, "x11 has been around for decades, and these things just don't happen. And the reason is that there are much simpler and more effective ways to pwn a box than trying to screenshot an x session or trying to hook for key presses."

But in fact I have seen people gaining elevated privileges by "hijacking" X servers when the authentication was configured to be lax, and I've sometimes configured my own authentication to be lax (because configuring it properly was a hassle), so I know it's not an "imagined threat" from "NOBODY" or a "myth" or things that "just don't happen" because "nobody is trying" them.

But it's not a "bug" either. It's a design tradeoff. X just wasn't designed to provide a security boundary between applications, to encrypt its network traffic, or by default to use any authentication at all other than host-based authentication. Even MIT-MAGIC-COOKIE-1 auth was an add-on, and it is sent in the clear, permitting replay attacks. These are defensible tradeoffs, and ssh -X and the current xauth defaults improve the situation significantly, but Wayland's design provides a lot more isolation between applications by default, which is probably a more defensible tradeoff.

Re:X.org Security Advisory: multiple security issues X.Org X... by Suzuran on Monday November 03, 2025 @08:38AM (#45798814)
That's not how this works. If you cannot prove conclusively that something is not the case ever, then you must accept that somewhere in the infinity of possibility it is.