Better HN
topnewbestaskshowjobs
Log inSign up

tpfister

1 karma · joined Sep 26, 2014 (12y ago) · 2 submissions

Submissions

comment 12y ago · link · parent

The script has been updated to bash 4.3.

comment 12y ago · link · parent

This patch script doesn't seem to fix CVE-2014-7169 (the second exploit) on some distributions. I have confirmed that the vulnerability still works after patching with Debian etch and lenny installations.

I have issued an updated patcher script that fixes the patch: https://github.com/tpfister/public/blob/master/patch_shellsh...

The relevant changes are:

# aftershock patch CVE-2014-7169

wget -nv http://tomas.pfister.fi/aftershock_4.3.txt

patch -p0 < aftershock_4.3.txt

After patching the second vulnerability no longer works:

tp@tp:~/src/bash-4.3$ env X='() { (a)=>\' ./bash -c "echo date"; cat echo ./bash: X: line 1: syntax error near unexpected token `=' ./bash: X: line 1: `' ./bash: error importing function definition for `X' date cat: echo: No such file or directory tp@tp:~/src/bash-4.3$