Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ordinary
· 12y ago · 0 comments
Perl backticks and system() delegate commands to the system shell, normally sh. On many systems, sh is simply bash in compatibility mode. That's how the attacker gets at the vulnerability.
Comments
[–]
justincormack
12y ago
Nice that "compatibility mode" does not bother to disable this technically non compatible behaviour...
[–]
owenfi
12y ago
Thanks. Suspected as much, but still a bit petrified that the shell var/func passed through perl to the backtick-shell.
[–]
mutation
12y ago
system() delegates to shell only in the case of one argument given to system().