1. First install Rpm:sudo Apt-get installed rpm wget-oghost-test.sh http://www.antian365.com/lab/linux0day/GHOST-test.sh.txt sudo Chmod-r 0777 ghost-test.sh./ghost-test.sh if executed./ghost-test.sh output
Vulnerable glibc version <= 2.17-54
Vulnerable glibc version <= 2.5-122
Vulnerable glibc version <= 2.12-1.148
Detected glibc version. Revision
This system was vulnerable to cve-2015-0235. Refer to
If there is a vulnerability, the "vulnerable" is displayed
2 Repair Method:
1. Ubuntu/debian
Perform the following command on Ubuntu/debian to repair it and reboot is required.
Apt-get Update && apt-get-y install LIBC6
2.Centos
After executing "yumupdate glibc" on CentOS, there will be a confirmation, enter "Y", will probably download 6 installs package, need to restart the computer after the installation is complete.
Detect Linux glibc Ghost exploits and patch vulnerabilities