Re:CVE-2018-0492: Local privilege escalation in Linux progra...
by jzzskijj on Wednesday April 04, 2018 @01:38AM
(#16752260)
Hah, it is quite surreal what kind of scripts are asked to be curled and piped to a shell. And some users do eithout hesitation, because some website asked them to. Hopefully this pipe to sudo shell joke works as an eye opener to some.
[ Parent
| on HN ]
Re:CVE-2018-0492: Local privilege escalation in Linux progra...
by slimsag on Wednesday April 04, 2018 @01:44AM
(#16752287)
As long as it is over HTTPS and you trust the author, it shouldn't be any different than downloading and running an arbitrary binary from a website.
Re:CVE-2018-0492: Local privilege escalation in Linux progra...
by jzzskijj on Wednesday April 04, 2018 @02:32AM
(#16752495)
Sure. Trust. But shell script at least gives easy means to have a glimpse what is it going to do.
As legitimate websites of software have been breached to serve infected packages (like CCleaner[1]) or otherwise fraudulent content (even kernel.org[2]), I always shudder a bit, when I see being asked to pipe something directly from curl to a (root) shell.
1. https://www.extremetech.com/internet/256238-ccleaner-infecti...