关联漏洞
描述
SQLPad - Template injection
介绍
# CVE-2022-0944
SQLPad - Template injection
This is a blind vulnerability, meaning that the output is directly returned in the response.
## Exploit
Use the script with the following command:
`python3 exploit.py http://localhost:13000 <command>`
## Testing environment
Using docker:
- Start the docker container - `sudo docker run -p 13000:3000 -d --env SQLPAD_ADMIN=admin --env SQLPAD_ADMIN_PASSWORD=password --name vulnerable-sqlpad sqlpad/sqlpad:6.10.0`
- Connect to the docker container - `sudo docker exec -it sqlpad /bin/bash`
To access the web interface, use URL `http://localhost:13000` with credentials `admin:password`.
## Affected versions
<= 6.10.0
## Source
https://huntr.com/bounties/46630727-d923-4444-a421-537ecd63e7fb
文件快照
[4.0K] /data/pocs/a68a3f854faf65eca3d6128b824c6dd969b77add
├── [ 274] exploit.py
└── [ 742] README.md
0 directories, 2 files
备注
1. 建议优先通过来源进行访问。
2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。