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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2015-5531 PoC — Elasticsearch 目录遍历漏洞

Source
Associated Vulnerability
Title:Elasticsearch 目录遍历漏洞 (CVE-2015-5531)
Description:Elasticsearch是荷兰Elasticsearch公司的一套基于Lucene构建的开源分布式RESTful搜索引擎,它主要用于云计算中,并支持通过HTTP使用JSON进行数据索引。 Elasticsearch 1.6.1之前版本中存在目录遍历漏洞。远程攻击者可借助快照的API调用利用该漏洞读取任意文件。
Readme
# CVE-2015-5531-POC

# 漏洞背景
Elasticsearch是荷兰Elasticsearch公司的一套基于Lucene构建的开源分布式RESTful搜索引擎,它主要用于云计算中,并支持通过HTTP使用JSON进行数据索引。 Elasticsearch 1.6.1之前版本中存在目录遍历漏洞。远程攻击者可借助快照的API调用利用该漏洞读取任意文件。

# 使用说明
```
-u 指定URL
-f 指定读取的文件
```
此POC基于网上现有的进行了魔改,将获取的结果自动进行了Unicode解码,代码较粗糙

<img width="360" alt="image" src="https://user-images.githubusercontent.com/62680449/191476115-82cfc74f-b1e4-4834-be33-02992569e825.png">
File Snapshot

[4.0K] /data/pocs/4dd10f5aba02c5711805b5b37658f779e0f853d1 ├── [4.8K] poc.py └── [ 676] README.md 0 directories, 2 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.