News for hackers. Stuff that matters.
Re:The Terminal Escape Sequences Ocean Is Deep and Dark by rwmj on Wednesday January 18, 2023 @05:20AM (#34425168)
It seems to have a hand-written ad hoc parser, handling untrusted input. A very rich source of exploits. (Luckily it's at least using a memory safe language so what you can do is likely limited to DoSing yourself or using up all memory as in this case.)
Re:The Terminal Escape Sequences Ocean Is Deep and Dark by EthanHeilman on Wednesday January 18, 2023 @07:00AM (#34425708)
I know this sounds sarcastic, but I don't mean it that way. Are there virtual terminals which are not hand-written ad hoc parsers?
Re:The Terminal Escape Sequences Ocean Is Deep and Dark by yencabulator on Thursday January 19, 2023 @04:24PM (#34445817)
They seem to be using this library for some sort of remote shell session snooping. At the very least this sort of negligence lets an attacker smuggle commands through the system unnoticed.