/srv/irclogs.ubuntu.com/2022/05/13/#ubuntu-security.txt

=== vlm_ is now known as vlm
EickmeyerHey security team! I've got a fun one for you guys. A fix for CVE-2005-4890 in sudo broke kdesu in both Kubuntu and Ubuntu Studio and we've got this nasty bug 1965439 going on.15:53
ubottuBug 1965439 in ubuntustudio-default-settings (Ubuntu Jammy) "software-properties-qt can no longer launch when called by kdesu" [High, In Progress] https://launchpad.net/bugs/196543915:53
ubottuThere is a possible tty hijacking in shadow 4.x before 4.1.5 and sudo 1.x before 1.7.4 via "su - user -c program". The user session can be escaped to the parent session by using the TIOCSTI ioctl to push characters into the input buffer to be read by the next process. <https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-4890>15:54
EickmeyerWe're not sure if bugging Debian about a different approach to fixing the CVE would be more appropriate or bugging KDE to work around the issue is more appropreiate, but it's extremely complicated and we've got some major breakage.15:54
=== vlm_ is now known as vlm
EickmeyerWould love to hear some thoughts on this. Just ping me.15:57
=== vlm_ is now known as vlm
rbasakleosilva: ^16:21
* leosilva looks16:23
leosilvait sounds comment use_pty line makes it works as previous, and by the fix comment in the possibly culprit patch, sounds like/2 a thing was added to be opt. I don't think debian would bored about it at all. 16:33
Eickmeyerleosilva: So, should we file a bug against it saying this was basically the wrong approach to fix the CVE and to try something else because they broke our stuff in the process?16:43
mdeslaurwell, that assumes it's the wrong approach...16:44
EickmeyerThis is what I'm saying, I just don't have enough info to assume that.16:44
mdeslaurrunning stuff with pkexec definitely isn't the right approach16:44
mdeslaurbut changing that is a large undertaking16:44
EickmeyerRight, and discover, for instance, is hardcoded to use kdesu.16:44
mdeslaurso finding a work-around is needed16:44
mdeslaurI don't really know what the work-around could be16:45
EickmeyerThe workaround we're using for driver manager (a kubuntu/studio specfic kde control center module) is to open xterm to run 'sudo software-properties-qt', but it's a hack at best and is very... gross.16:46
mdeslauryeah, far from ideal16:47
EickmeyerUnfortunately, that doesn't work for KDE apps that are hardcoded for kdesu.16:47
EickmeyerI suppose I could write a kdesu shim that runs pkexec instead (again, ew).16:47
mdeslaur"kdesu can work without the kdesud daemon, but for it to use the kdesud daemon it must be setgid, that has been the case for a long time..."16:49
mdeslaurdoes that mean kdesu is using sudo when not using the kdesud daemon?16:49
mdeslaurI'm trying to understand what exactly is using sudo16:49
EickmeyerMe too. RikMills ^ ?16:49
* Eickmeyer is running out of time and must take his son to school on his late start Friday morning16:50
Eickmeyermdeslaur: I think that might be the case.16:53
RikMillsI think maybe. However 1st thing I tried was setting that setgid, and it didn't help one jot16:55

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!