## https://sploitus.com/exploit?id=KITPLOIT:TOOLS-GITHUB-JDAUPHANT-PATCH-OPENSSL-CVE-2014-0160
# patch-openssl-CVE-2014-0160
تصحيح openssl لثغرة #heartbleed باستخدام ansible
# الاستخدام :
root@kitploit:~
pip install ansible
ansible-playbook -i your_inventory_file patch-openssl-CVE-2014-0160.yml
your_inventory_file فقط يحتاج إلى أن يحتوي على قائمة الخوادم الخاصة بك :
root@kitploit:~
192.168.0.10
webserver1.example.com
webserver2.example.com
db1.example.com
# الدعم
* ترقية openssl على أنظمة عائلة دبيان
* إعادة تشغيل بعض الخدمات المتأثرة
# المهام المتبقية
* إعادة تشغيل المزيد من الخدمات
* إعادة توليد شهادات SSL
* دعم المزيد من أنظمة التشغيل
# اختبر ما إذا كنت بحاجة إلى التصحيح
root@kitploit:~
% openssl version -a
OpenSSL 1.0.1 14 Mar 2012
built on: Tue Aug 21 05:18:48 UTC 2012
-> you need to patch (the date of build is before 7 april 2014)
% openssl version -a
OpenSSL 1.0.1 14 Mar 2012
built on: Mon Apr 7 20:33:29 UTC 2014
-> you system is normaly patched (the date of build is after 7 april 2014)
# openssl s_client -connect twitter.com:443 -tlsextdebug 2>&1| grep 'server extension "heartbeat" (id=15)'
TLS server extension "heartbeat" (id=15), len=1
-> If you use openssl, you have heartbeat activated, you could need to patch
# openssl s_client -connect cloudflare.com:443 -tlsextdebug 2>&1| grep 'server extension "heartbeat" (id=15)'
-> cloudflare is patched