ShellShock(BashDoor repair method-vulnerability warning-the black bar safety net

ID MYHACK58:62201454268
Type myhack58
Reporter 佚名
Modified 2014-10-02T00:00:00


Check your system is not there to Bash the Door the vulnerability of the command:

> env-i X='() { (a)=>\' bash-c 'echo date'; cat echo

If vulnerability exists, the output result does not date the words, the following diagram is to repair success after the screenshots:

! shell shock, bash door, fix

Cent OS system repair method

> yum clean all yum makecache yum-y update bash

Ubuntu System Repair method

> apt-get update apt-get-y install --only-upgrade bash

The Debian system repair method

> apt-get update apt-get-y install --only-upgrade bash