Originally posted by: chanly_bob
Does anyone know how to test/validate that this vulnerability has truly been addressed for AIX5.3/61?
for RHEL5/6, we run the below after the bash patch has been applied.
cd /tmp; rm -f /tmp/echo; env 'x=() { (a)=>\' bash -c "echo date"; cat /tmp/echo
output:
date
cat: /tmp/echo: No such file or directory
applied this bash fix from IBM and tried to do the same test/validation procedures but it did not return the results that i was expecting to see.
results on AIX61:
bash: x: line 1: syntax error near unexpected token `='
bash: x: line 1: `'
bash: error importing function definition for `x'
date
cat: 0652-050 Cannot open /tmp/echo.