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

Goal: 1000 CNY · Raised: 1310 CNY

100%

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

Source
Associated Vulnerability
Title:Elasticsearch 目录遍历漏洞 (CVE-2015-5531)
Description:Directory traversal vulnerability in Elasticsearch before 1.6.1 allows remote attackers to read arbitrary files via unspecified vectors related to snapshot API calls.
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

Log in to view the POC file snapshot cached by Shenlong Bot

Log in to view
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →