Re:GraphicsMagick and ImageMagick popen() shell vulnerabilit...
by 0x0 on Sunday May 29, 2016 @06:46PM
(#11798578)
So, just like Perl?
[ Parent
| on HN ]
Re:GraphicsMagick and ImageMagick popen() shell vulnerabilit...
by joosters on Sunday May 29, 2016 @07:45PM
(#11798792)
Only badly-written perl.
It's a bit like claiming that SQL allows for SQL injection attacks.
Re:GraphicsMagick and ImageMagick popen() shell vulnerabilit...
by 0x0 on Sunday May 29, 2016 @08:41PM
(#11798962)
Well, the default open() method do perform pipe execs if you prepend or append "|", just like here.
Re:GraphicsMagick and ImageMagick popen() shell vulnerabilit...
by labster on Monday May 30, 2016 @12:05AM
(#11799485)
If you're not using two-argument open() in Perl 5, you deserve what you get.
Re:GraphicsMagick and ImageMagick popen() shell vulnerabilit...
by bigiain on Monday May 30, 2016 @06:30PM
(#11803589)
"If you're not using two-argument open() in Perl 5, you deserve what you get."
Pretty sure that's not quite what you meant to say...
http://modernperlbooks.com/mt/2010/04/three-arg-open-migrati...
If you _are_ using two-arg open, or if you're _not_ using three-arg open.
(Or, the more general case: "If you're using Perl you deserve what you get - if you don't understand all the language features you're using." (And feel free to substitute whatever language will start the argument in place of Perl in that claim...)