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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2022-32060 PoC — Snipe-IT 跨站脚本漏洞

来源
关联漏洞
标题: Snipe-IT 跨站脚本漏洞 (CVE-2022-32060)
Description:Snipe-IT是一套开源IT资产/许可证管理系统。 Snipe-IT v6.0.2 版本存在安全漏洞,该漏洞源于在更新品牌设置页面可以上传恶意文件,攻击者利用该漏洞可以执行任意代码。
Description
An arbitrary file upload vulnerability in the Update Branding Settings component of Snipe-IT v6.0.2 allows attackers to execute arbitrary code via a crafted file.
介绍
# Snipe-IT Version v6.0.2

### Vulnerability Explanation:
An arbitrary file upload vulnerability in the Update Branding Settings component of Snipe-IT v6.0.2 allows attackers to execute arbitrary code via a crafted file.

### Attack Vectors:
- We found a vulnerability file upload, when we upload malicious file at Update Branding Settings page.

### Payload :
https://github.com/bypazs/GrimTheRipper/blob/main/GrimTheRipperTeam.svg

### Tested on:
1.  Snipe-IT Version v6.0.2
2.  Google Chrome Version 102.0.5005.61 (Official Build) (64-bit)

### Affected Component: 
- Affected in Branding Settings page on favicon tab (http://<IP>/uploads/malicious_file.svg)

### Steps to attack:
1. Login to the target application with admin privileges.
2. Click at the gear icon in the upper right corner.
3. Select "Branding" menu.
4. At Favicon, click "Select File".
5. Browse the file where we prepared the payload XSS.
6. Click "Save".
7. After found a success message select "Branding" menu again.
8. Right click and select "Open Image in New Tab", it will show that the payload XSS was executed.

### Discoverer:
:shipit: Grim The Ripper Team by SOSECURE Thailand

### Medium:
- https://grimthereaperteam.medium.com/snipe-it-version-v6-0-2-file-upload-cross-site-scripting-b15becc1a5ea

### Disclosure Timeline:
- 2022–05–27: Vulnerability discovered.
- 2022–05–27: Vulnerability reported to the MITRE corporation.
- 2022–05–27: Public disclosure of the vulnerability.
- 2022–07–08: CVE has been reserved.

Reference:
1. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-34963
2. https://github.com/bypazs/CVE-2022-32060
3. https://snipeitapp.com
4. https://github.com/snipe/snipe-it/releases/tag/v6.0.2
文件快照

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

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