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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2021-25646 PoC — Authenticated users can override system configurations in their requests which allows them to execute arbitrary code.

Source
Associated Vulnerability
Title:Authenticated users can override system configurations in their requests which allows them to execute arbitrary code. (CVE-2021-25646)
Description:Apache Druid includes the ability to execute user-provided JavaScript code embedded in various types of requests. This functionality is intended for use in high-trust environments, and is disabled by default. However, in Druid 0.20.0 and earlier, it is possible for an authenticated user to send a specially-crafted request that forces Druid to run user-provided JavaScript code for that request, regardless of server configuration. This can be leveraged to execute code on the target machine with the privileges of the Druid server process.
Description
Apache Druid 远程代码执行;检测脚本
Readme
**Apache Druid 远程代码执行**

漏洞概要

Apache Druid 官方发布安全更新,通报了一个远程代码执行漏洞,漏洞编号 CVE-2021-25646。由于 Apache Druid 默认情况下缺乏授权认证,攻击者可以发 送特制请求,利用 Druid 服务器上进程的特权执行任意代码。

Apache Druid 是用 Java 编写的面向列的开源分布式数据存储,旨在快速获 取大量事件数据,并在数据之上提供低延迟查询。Druid 旨在快速提取大量事件 数据,并在数据之上提供低延迟查询。Druid 通常用于商业智能/ OLAP 应用程序 中,以分析大量的实时和历史数据。



## 脚本使用

使用帮助

```bash
python3 cve-2021-25646 --help
```

检测方法

```bash
python3 cve-2021-25646.py -h http://192.168.130.142:8888
```

判断是否存在漏洞是使用dnslog日志判断的,根据个人dnslog地址,修改脚本第52行ping ***.dnslog.*

## 免责声明

利用此项目内容从事违法行为,作者不承担任何责任,后果自行承担。
File Snapshot

[4.0K] /data/pocs/d75972146655f8fb6a76dacf9401b16734d4b835 ├── [3.0K] cve-2021-25646.py └── [1.0K] 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. 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 →