POC详情: 6417b35987b0bbd04cdc0a69f3c0bb1bc8e07518

来源
关联漏洞
标题: OpenSSL 缓冲区错误漏洞 (CVE-2014-0160)
描述:OpenSSL是OpenSSL团队开发的一个开源的能够实现安全套接层(SSL v2/v3)和安全传输层(TLS v1)协议的通用加密库,它支持多种加密算法,包括对称密码、哈希算法、安全散列算法等。 OpenSSL的TLS和DTLS实现过程中的d1_both.c和t1_lib.c文件中存在安全漏洞,该漏洞源于当处理Heartbeat Extension数据包时,缺少边界检查。远程攻击者可借助特制的数据包利用该漏洞读取服务器内存中的敏感信息(如用户名、密码、Cookie、私钥等)。以下版本的OpenSSL受到
描述
Patch openssl #heartbleed with ansible 
介绍
patch-openssl-CVE-2014-0160
===========================

Patch openssl #heartbleed with ansible 


# Usage :
    pip install ansible
    ansible-playbook -i your_inventory_file patch-openssl-CVE-2014-0160.yml

your_inventory_file just need to contain your server list :
```
192.168.0.10
webserver1.example.com
webserver2.example.com
db1.example.com
```

# Support
- Upgrade openssl on Debian Family OS
- Restart some services impacted

# To Do
- Restart more service
- Regenerate SSL certificats
- Support more OS

# Test if you need to patch
```
% 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
```

# More information
- CVE-2014-0160
- http://heartbleed.com/
- https://www.openssl.org/news/secadv_20140407.txt

# Author
Julien DAUPHANT
文件快照

[4.0K] /data/pocs/6417b35987b0bbd04cdc0a69f3c0bb1bc8e07518 ├── [1.3K] LICENSE ├── [1.6K] patch-openssl-CVE-2014-0160.yml └── [1.3K] README.md 0 directories, 3 files
神龙机器人已为您缓存
备注
    1. 建议优先通过来源进行访问。
    2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
    3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。