Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2014-0160 PoC — OpenSSL 缓冲区错误漏洞

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

openssl Heartbleed bug check for Node.js

check result
============
```
{"code":0,"data":"1803021003020ff0d8030253435b909d9b720bbc0cbc2b92a84897cfbd3904cc160a8503909..."}
```
* `code: 0` vulnerable. (存在漏洞)
* `code: 1` not vulnerable. (不存在漏洞)


Demo
=====
```
npm install heartbleed-check
```

```javascript
var heartbleed = require('heartbleed-check');

app.get('/:domain/:port', function(req, res) {
    heartbleed.doCheck(req.param('domain'), req.param('port'), function(err, result) {
        res.json(result);
    });
});
```
File Snapshot

[4.0K] /data/pocs/b8162565913a0277076cea6508ff3f899057adce ├── [ 650] app.js ├── [4.0K] lib │   ├── [3.3K] heartbleed.js │   └── [1.5K] utils.js ├── [ 18K] LICENSE ├── [ 539] package.json └── [ 577] README.md 1 directory, 6 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.